diff options
author | Lukc <lukc@upyum.com> | 2010-12-12 17:02:47 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-12 17:02:47 +0100 |
commit | 01e68b357f713a055b9f8799438b2f9bf2b0e6fb (patch) | |
tree | 47bc1d44575b3c6d47bf841989cf127b630fd8fc /pkg-config/Pkgfile | |
parent | 40b051d65d95fe05a1674841e1f9f1b2917a3cd4 (diff) | |
download | devel-01e68b357f713a055b9f8799438b2f9bf2b0e6fb.tar.gz devel-01e68b357f713a055b9f8799438b2f9bf2b0e6fb.tar.bz2 devel-01e68b357f713a055b9f8799438b2f9bf2b0e6fb.tar.xz devel-01e68b357f713a055b9f8799438b2f9bf2b0e6fb.zip |
Recette de pkg-config ajoutée.
Diffstat (limited to 'pkg-config/Pkgfile')
-rw-r--r-- | pkg-config/Pkgfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg-config/Pkgfile b/pkg-config/Pkgfile new file mode 100644 index 0000000..f9c6f50 --- /dev/null +++ b/pkg-config/Pkgfile @@ -0,0 +1,24 @@ +description="A system for managing library compile/link flags." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" +url="http://pkgconfig.freedesktop.org/wiki/" +depends=() + +name=pkg-config +version=0.25 +release=2 +source=( + http://pkg-config.freedesktop.org/releases/pkg-config-0.25.tar.gz + pkg-config.diff +) +build () +{ + cd $name-$version; + patch -p1 -i $SRC/$name.diff; + ./configure --prefix=$prefix --mandir=$mandir; + make; + make DESTDIR=$PKG install; + # Kept from Crux. Why not ? \o/ + rm $PKG/usr/share/doc/pkg-config/pkg-config-guide.html; + rmdir $PKG/usr/share/doc/{pkg-config,} +} |