Update pkgconfig and modified default search path to match

all architectures.
parent 82af70b5
require 'package'
class Pkgconfig < Package
version '0.28'
source_url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz'
source_sha1 '71853779b12f958777bffcb8ca6d849b4d3bed46'
version '0.29.1'
source_url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.1.tar.gz'
source_sha1 '271ce928f6d673cc16cbced2bfd14a5f2e5d3d37'
depends_on 'buildessential'
def self.build
system "./configure --with-internal-glib --libdir=/usr/local/lib#{SHORTARCH}/ CC=\"gcc -m#{SHORTARCH}\" CFLAGS=\" -fPIC\""
# check lib64 on any architectures since it is not a problem to not exist lib64 directory.
system "./configure --with-internal-glib --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/local/share/pkgconfig CFLAGS=\" -fPIC\""
system "make"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment