summaryrefslogtreecommitdiffstats
path: root/pkg-config/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'pkg-config/Pkgfile')
-rw-r--r--pkg-config/Pkgfile24
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,}
+}