CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
gdbm: fixed release
[crossrootfs.git] / pkg-config / Pkgfile
CommitLineData
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
7name=pkg-config
742845df 8version=0.25
b46c009d 9release=1
742845df
VM
10source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz
11 $name.diff
b46c009d
JB
12 $name-${version}_ANSII_libraries.patch)
13
14build() {
15 cd $name-$version
16
742845df 17 patch -p1 -i $SRC/$name.diff
b46c009d
JB
18 patch -p1 -i $SRC/$name-${version}_ANSII_libraries.patch
19
b46c009d
JB
20 ./configure --build=$CHOST \
21 --host=$CTARGET \
22 --prefix=/usr \
23 --mandir=/usr/man
de44b81f 24
b46c009d
JB
25 make
26 make DESTDIR=$PKG install
742845df
VM
27
28 rm $PKG/usr/share/doc/pkg-config/pkg-config-guide.html
29 rmdir $PKG/usr/share/doc/{pkg-config,}
b46c009d 30}