summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 17:02:47 +0100
committerLukc <lukc@upyum.com>2010-12-12 17:02:47 +0100
commit01e68b357f713a055b9f8799438b2f9bf2b0e6fb (patch)
tree47bc1d44575b3c6d47bf841989cf127b630fd8fc
parent40b051d65d95fe05a1674841e1f9f1b2917a3cd4 (diff)
downloaddevel-01e68b357f713a055b9f8799438b2f9bf2b0e6fb.tar.gz
devel-01e68b357f713a055b9f8799438b2f9bf2b0e6fb.tar.bz2
devel-01e68b357f713a055b9f8799438b2f9bf2b0e6fb.tar.xz
devel-01e68b357f713a055b9f8799438b2f9bf2b0e6fb.zip
Recette de pkg-config ajoutée.
-rw-r--r--pkg-config/.footprint9
-rw-r--r--pkg-config/.md5sum2
-rw-r--r--pkg-config/.sha256sum2
-rw-r--r--pkg-config/Pkgfile24
-rw-r--r--pkg-config/Pkgfile.old20
-rw-r--r--pkg-config/pkg-config.diff35
6 files changed, 92 insertions, 0 deletions
diff --git a/pkg-config/.footprint b/pkg-config/.footprint
new file mode 100644
index 0000000..7b067be
--- /dev/null
+++ b/pkg-config/.footprint
@@ -0,0 +1,9 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/pkg-config
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/aclocal/
+-rw-r--r-- root/root usr/share/aclocal/pkg.m4
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/pkg-config.1.bz2
diff --git a/pkg-config/.md5sum b/pkg-config/.md5sum
new file mode 100644
index 0000000..eab0161
--- /dev/null
+++ b/pkg-config/.md5sum
@@ -0,0 +1,2 @@
+a3270bab3f4b69b7dc6dbdacbcae9745 pkg-config-0.25.tar.gz
+e5c41ba63f2809c0e432fe9527568b85 pkg-config.diff
diff --git a/pkg-config/.sha256sum b/pkg-config/.sha256sum
new file mode 100644
index 0000000..51dea72
--- /dev/null
+++ b/pkg-config/.sha256sum
@@ -0,0 +1,2 @@
+3ba691ee2431f32ccb8efa131e59bf23e37f122dc66791309023ca6dcefcd10e pkg-config-0.25.tar.gz
+86afafb7de16aaf1e874ad7786a8f711d04bf273c521864acaa71ccf9176a37e pkg-config.diff
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,}
+}
diff --git a/pkg-config/Pkgfile.old b/pkg-config/Pkgfile.old
new file mode 100644
index 0000000..59c2c7f
--- /dev/null
+++ b/pkg-config/Pkgfile.old
@@ -0,0 +1,20 @@
+# Description: A system for managing library compile/link flags
+# URL: http://pkgconfig.freedesktop.org/wiki/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+
+name=pkg-config
+version=0.25
+release=2
+source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz
+ $name.diff)
+
+build() {
+ cd $name-$version
+ patch -p1 -i $SRC/$name.diff
+ ./configure --prefix=/usr --mandir=/usr/man
+ make
+ make DESTDIR=$PKG install
+
+ rm $PKG/usr/share/doc/pkg-config/pkg-config-guide.html
+ rmdir $PKG/usr/share/doc/{pkg-config,}
+}
diff --git a/pkg-config/pkg-config.diff b/pkg-config/pkg-config.diff
new file mode 100644
index 0000000..777fddd
--- /dev/null
+++ b/pkg-config/pkg-config.diff
@@ -0,0 +1,35 @@
+From 2b86e9b4664fd43622e2cd5ab47713a818758970 Mon Sep 17 00:00:00 2001
+From: Tollef Fog Heen <tfheen@err.no>
+Date: Thu, 19 Aug 2010 06:54:09 +0000
+Subject: Add some []s before dnl
+
+Autoconf 2.66 has some problems with missing []s before dnls, causing
+the expanded text to be garbled.
+
+Fixes #29056
+---
+diff --git a/pkg.m4 b/pkg.m4
+index 9bb3e06..31169b4 100644
+--- a/pkg.m4
++++ b/pkg.m4
+@@ -135,7 +135,7 @@ $$1_PKG_ERRORS
+ Consider adjusting the PKG_CONFIG_PATH environment variable if you
+ installed software in a non-standard prefix.
+
+-_PKG_TEXT])dnl
++_PKG_TEXT])[]dnl
+ ])
+ elif test $pkg_failed = untried; then
+ AC_MSG_RESULT([no])
+@@ -146,7 +146,7 @@ path to pkg-config.
+
+ _PKG_TEXT
+
+-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])dnl
++To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
+ ])
+ else
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
+--
+cgit v0.8.3-6-g21f6
+