From 6d908a38e05b9d4135c65d23114a5874215b5bb8 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 11 Dec 2010 19:15:23 +0100 Subject: Engagement initial. --- pkg-config/.footprint | 9 +++++++++ pkg-config/.md5sum | 2 ++ pkg-config/Pkgfile | 20 ++++++++++++++++++++ pkg-config/Pkgfile.old | 20 ++++++++++++++++++++ pkg-config/pkg-config.diff | 35 +++++++++++++++++++++++++++++++++++ 5 files changed, 86 insertions(+) create mode 100644 pkg-config/.footprint create mode 100644 pkg-config/.md5sum create mode 100644 pkg-config/Pkgfile create mode 100644 pkg-config/Pkgfile.old create mode 100644 pkg-config/pkg-config.diff (limited to 'pkg-config') diff --git a/pkg-config/.footprint b/pkg-config/.footprint new file mode 100644 index 0000000..df5ed35 --- /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/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/pkg-config.1.gz +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 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/Pkgfile b/pkg-config/Pkgfile new file mode 100644 index 0000000..d78cc1a --- /dev/null +++ b/pkg-config/Pkgfile @@ -0,0 +1,20 @@ +description="A system for managing library compile/link flags" +packager="" +maintainer="CRUX System Team, core-ports at crux dot nu" +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=/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/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 +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 .])dnl ++To get pkg-config, see .])[]dnl + ]) + else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS +-- +cgit v0.8.3-6-g21f6 + -- cgit v1.2.3-70-g09d2