Commit | Line | Data |
---|---|---|
b46c009d JB |
1 | # Description: A system for managing library compile/link flags |
2 | # URL: http://pkgconfig.freedesktop.org/wiki/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
5 | # Depends on: | |
6 | ||
7 | name=pkg-config | |
41b60065 | 8 | version=0.29 |
d085a1ac VM |
9 | release=1 |
10 | source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz) | |
b46c009d JB |
11 | |
12 | build() { | |
13 | cd $name-$version | |
14 | ||
d085a1ac VM |
15 | cat > config.cache << EOF |
16 | glib_cv_stack_grows=no | |
17 | glib_cv_uscore=no | |
18 | ac_cv_func_posix_getgrgid_r=yes | |
19 | ac_cv_func_posix_getpwuid_r=yes | |
20 | EOF | |
b46c009d | 21 | |
b46c009d JB |
22 | ./configure --build=$CHOST \ |
23 | --host=$CTARGET \ | |
24 | --prefix=/usr \ | |
d085a1ac | 25 | --with-internal-glib \ |
41b60065 | 26 | --disable-host-tool \ |
d085a1ac | 27 | --cache-file=config.cache |
de44b81f | 28 | |
b46c009d JB |
29 | make |
30 | make DESTDIR=$PKG install | |
742845df | 31 | |
d085a1ac | 32 | rm -r $PKG/usr/share/doc |
b46c009d | 33 | } |