Sha256: 62985c2cd1238c0fbf6d38303eb3a90617f46e8ec94d27d11b545efb31c6184b
Contents?: true
Size: 515 Bytes
Versions: 4
Compression:
Stored size: 515 Bytes
Contents
require 'autobuild/pkgconfig' module Autobuild class InstalledPkgConfig < Package def initialize(name) @pkgconfig = PkgConfig.new(name) @prefix = @pkgconfig.prefix super end def installstamp std_stamp = super if File.file?(std_stamp) std_stamp else raise "#{name} is either not installed or has not been built by autobuild (#{std_stamp} not found)" end end end def installed_pkgconfig(name, &block) InstalledPkgConfig.new(name, &block) end end
Version data entries
4 entries across 4 versions & 1 rubygems