From 01e68b357f713a055b9f8799438b2f9bf2b0e6fb Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 17:02:47 +0100 Subject: Recette de pkg-config ajoutée. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg-config/Pkgfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkg-config/Pkgfile (limited to 'pkg-config/Pkgfile') 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 " +maintainer="Lukc " +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,} +} -- cgit v1.2.3-70-g09d2