summaryrefslogtreecommitdiff
path: root/multilib/lib32-libidn
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-22 23:15:13 +0000
committerroot <root@rshg054.dnsready.net>2012-01-22 23:15:13 +0000
commit164067832916c8e59219e1b0f30d7d04618a536e (patch)
tree5ec718dc77dfccfcdb1409707658bef3fb421ac4 /multilib/lib32-libidn
parenta1922d0ec660fdc1892f2783515f781c090df0a9 (diff)
Sun Jan 22 23:15:13 UTC 2012
Diffstat (limited to 'multilib/lib32-libidn')
-rw-r--r--multilib/lib32-libidn/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/multilib/lib32-libidn/PKGBUILD b/multilib/lib32-libidn/PKGBUILD
new file mode 100644
index 000000000..2f08a81f9
--- /dev/null
+++ b/multilib/lib32-libidn/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Florian Pritz <bluewind@xinu.at>
+_pkgbasename=libidn
+pkgname=lib32-$_pkgbasename
+pkgver=1.22
+pkgrel=2
+pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications (32 bit)"
+url="http://www.gnu.org/software/libidn/"
+arch=('x86_64')
+license=('GPL3' 'LGPL')
+depends=('lib32-glibc' "$_pkgbasename>=$pkgver")
+makedepends=('gcc-multilib')
+options=('!libtool')
+source=(http://ftp.gnu.org/gnu/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
+md5sums=('893a1df0cf3b28b72d248382eaeaca71')
+
+build() {
+ cd ${srcdir}/${_pkgbasename}-${pkgver}
+ ./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32'
+ make
+}
+
+package() {
+ cd ${srcdir}/${_pkgbasename}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ rm -rf ${pkgdir}/usr/{bin,include,share}
+}