| 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, crux-arm at mikeux dot dyndns dot org |
| 5 | # Depends on: |
| 6 | |
| 7 | name=pkg-config |
| 8 | version=0.23 |
| 9 | release=1 |
| 10 | source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz \ |
| 11 | $name-$version.glib_test.patch) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | patch -p1 -i $SRC/$name-$version.glib_test.patch |
| 16 | |
| 17 | ./configure --build=$CHOST \ |
| 18 | --host=$CTARGET \ |
| 19 | --prefix=/usr \ |
| 20 | --mandir=/usr/man |
| 21 | make #CFLAGS="$CFLAGS -I./glib-1.2.10" |
| 22 | make DESTDIR=$PKG install |
| 23 | } |