diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/gtk | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/core/gtk')
-rw-r--r-- | abs/core/gtk/PKGBUILD | 32 | ||||
-rw-r--r-- | abs/core/gtk/__changelog | 3 | ||||
-rw-r--r-- | abs/core/gtk/aclocal-fixes.patch | 11 |
3 files changed, 46 insertions, 0 deletions
diff --git a/abs/core/gtk/PKGBUILD b/abs/core/gtk/PKGBUILD new file mode 100644 index 0000000..48c4972 --- /dev/null +++ b/abs/core/gtk/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: Judd Vinet <jvinet@zeroflux.org> + +pkgname=gtk +pkgver=1.2.10 +pkgrel=11 +pkgdesc="The GTK+ toolkit" +arch=('i686' 'x86_64') +url="http://www.gtk.org/" +license=('LGPL') +depends=('libxi' 'glib') +options=('!libtool' '!emptydirs') +source=(ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-$pkgver.tar.gz \ + aclocal-fixes.patch) +md5sums=('4d5cb2fc7fb7830e4af9747a36bfce20' 'c59d4906602d99a7468f7334b6fc3b4e') +sha1sums=('a5adcb909257da01ae4d4761e1d41081d06e4d7c' 'b034e33efb85d27f3f3fb082c404e3b6ea79259f') + +build() { + cd $startdir/src/gtk+-$pkgver + if [ "$CARCH" == "x86_64" ]; then + rm config.guess config.sub + ln -s /usr/share/libtool/config.guess config.guess + ln -s /usr/share/libtool/config.sub config.sub + fi + patch -Np0 -i ${startdir}/src/aclocal-fixes.patch || return 1 + ./configure --prefix=/usr --sysconfdir=/etc --with-xinput=xfree + make || return 1 + make DESTDIR=$startdir/pkg install + cd $startdir/pkg/usr/include + ln -s gtk-1.2/gtk gtk +} diff --git a/abs/core/gtk/__changelog b/abs/core/gtk/__changelog new file mode 100644 index 0000000..5d6d4d6 --- /dev/null +++ b/abs/core/gtk/__changelog @@ -0,0 +1,3 @@ +added !emptydir to options +!docs + diff --git a/abs/core/gtk/aclocal-fixes.patch b/abs/core/gtk/aclocal-fixes.patch new file mode 100644 index 0000000..dd2ffbd --- /dev/null +++ b/abs/core/gtk/aclocal-fixes.patch @@ -0,0 +1,11 @@ +--- gtk.m4.orig 2006-03-05 13:18:09.000000000 +0000 ++++ gtk.m4 2006-03-05 13:18:20.000000000 +0000 +@@ -4,7 +4,7 @@ + dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) + dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS + dnl +-AC_DEFUN(AM_PATH_GTK, ++AC_DEFUN([AM_PATH_GTK], + [dnl + dnl Get the cflags and libraries from the gtk-config script + dnl |