diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /multilib/lib32-glib/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-glib/PKGBUILD')
-rw-r--r-- | multilib/lib32-glib/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/multilib/lib32-glib/PKGBUILD b/multilib/lib32-glib/PKGBUILD new file mode 100644 index 000000000..a863c66f6 --- /dev/null +++ b/multilib/lib32-glib/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 29612 2010-10-17 13:00:45Z pschmitz $ + +_pkgbasename=glib +pkgname=lib32-$_pkgbasename +pkgver=1.2.10 +pkgrel=11 +pkgdesc="Common C routines used by Gtk+ and other libs (32-bit)" +arch=('x86_64') +url="http://www.gtk.org/" +license=('LGPL') +depends=('lib32-glibc' "${_pkgbasename}") +makedepends=('gcc-multilib') +options=('!libtool' '!docs') +source=("ftp://ftp.gtk.org/pub/gtk/v1.2/${_pkgbasename}-${pkgver}.tar.gz" + 'gcc340.patch' + 'aclocal-fixes.patch') +md5sums=('6fe30dad87c77b91b632def29dd69ef9' + '877b3330e822a4be69a0f8a8c268cfd7' + 'e52c4b88427b9785bb8049dbdc9ff6fb') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd ${srcdir}/${_pkgbasename}-${pkgver} + patch -Np1 -i ../gcc340.patch + patch -Np0 -i ../aclocal-fixes.patch + + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --libdir=/usr/lib32 \ + --infodir=/usr/share/info \ + --host=x86_64-unknown-linux-gnu \ + --target=x86_64-unknown-linux-gnu + make +} + +package() { + cd ${srcdir}/${_pkgbasename}-${pkgver} + make DESTDIR=${pkgdir} install + rm -rf "${pkgdir}"/usr/{share,include,bin,lib32/glib} +} |