CRUX-ARM : Home

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