summaryrefslogtreecommitdiff
path: root/multilib/lib32-gettext
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-03 23:14:41 +0000
committerroot <root@rshg054.dnsready.net>2011-12-03 23:14:41 +0000
commit851376cd7720e1f9b35e0a7c26bfd66399f0c4d3 (patch)
treef8579d1c934aa5c28308372bedc321628555a424 /multilib/lib32-gettext
parent8eed59114cbcf729b65f87d3f73530f6c8363d20 (diff)
Sat Dec 3 23:14:41 UTC 2011
Diffstat (limited to 'multilib/lib32-gettext')
-rw-r--r--multilib/lib32-gettext/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/multilib/lib32-gettext/PKGBUILD b/multilib/lib32-gettext/PKGBUILD
new file mode 100644
index 000000000..94f9b4aa5
--- /dev/null
+++ b/multilib/lib32-gettext/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Florian Pritz <bluewind@xinu.at>
+# Contributor: Joakim Hernberg <jhernberg at alchemy dot lu>
+_pkgbasename=gettext
+pkgname=lib32-$_pkgbasename
+pkgver=0.18.1.1
+pkgrel=2
+pkgdesc="GNU internationalization library (32-bit)"
+arch=('x86_64')
+url="http://www.gnu.org/software/gettext/"
+license=('GPL')
+depends=('lib32-acl' $_pkgbasename)
+makedepends=(gcc-multilib)
+optdepends=('cvs: for autopoint tool')
+options=(!libtool !docs)
+source=(ftp://ftp.gnu.org/pub/gnu/gettext/${_pkgbasename}-${pkgver}.tar.gz)
+md5sums=('3dd55b952826d2b32f51308f2f91aa89')
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+ sed -i -e 's/libexpat.so.0/libexpat.so.1/' gettext-tools/src/x-glade.c
+ ./configure --prefix=/usr --enable-csharp --libdir=/usr/lib32
+ make
+}
+
+#check() {
+# cd "${srcdir}/${pkgname}-${pkgver}"
+# make check
+#}
+
+package() {
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/{bin,include,share}
+}