diff options
author | root <root@rshg054.dnsready.net> | 2012-04-29 00:03:11 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-29 00:03:11 +0000 |
commit | 4412991f6b4fd655fc1f51f8d79a0be0c10158b7 (patch) | |
tree | f9c260be9a38030fe89f1d4ce1e60763c7319f5f /multilib-testing | |
parent | 00f77ef3b2b7856520daba393370f67b773c2184 (diff) |
Sun Apr 29 00:03:11 UTC 2012
Diffstat (limited to 'multilib-testing')
-rw-r--r-- | multilib-testing/lib32-glib2/PKGBUILD | 4 | ||||
-rw-r--r-- | multilib-testing/lib32-libffi/PKGBUILD | 42 |
2 files changed, 44 insertions, 2 deletions
diff --git a/multilib-testing/lib32-glib2/PKGBUILD b/multilib-testing/lib32-glib2/PKGBUILD index e539dfd9c..62772f665 100644 --- a/multilib-testing/lib32-glib2/PKGBUILD +++ b/multilib-testing/lib32-glib2/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 69356 2012-04-14 13:00:00Z bluewind $ +# $Id: PKGBUILD 69968 2012-04-27 12:03:19Z lcarlier $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Contributor: Pierre Schmitz <pierre@archlinux.de> # Contributor: Mikko Seppälä <t-r-a-y@mbnet.fi> @@ -6,7 +6,7 @@ _pkgbasename=glib2 pkgname=lib32-$_pkgbasename pkgver=2.32.1 -pkgrel=2 +pkgrel=3 pkgdesc="Common C routines used by GTK+ 2.4 and other libs (32-bit)" url="http://www.gtk.org/" arch=('x86_64') diff --git a/multilib-testing/lib32-libffi/PKGBUILD b/multilib-testing/lib32-libffi/PKGBUILD new file mode 100644 index 000000000..f9d2cf31e --- /dev/null +++ b/multilib-testing/lib32-libffi/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 69958 2012-04-27 07:21:50Z lcarlier $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=lib32-libffi +pkgver=3.0.11 +pkgrel=1 +pkgdesc="A portable, high level programming interface to various calling conventions (32 bits version)" +arch=('x86_64') +license=('MIT') +url="http://sourceware.org/libffi" +depends=('lib32-glibc') +checkdepends=('dejagnu') +options=('!libtool') +source=(ftp://sourceware.org/pub/libffi/libffi-${pkgver}.tar.gz) +md5sums=('f69b9693227d976835b4857b1ba7d0e3') + +build() { + cd "${srcdir}/libffi-${pkgver}" + + export CC="gcc -m32" + + ./configure --prefix=/usr \ + --libdir=/usr/lib32 --libexecdir=/usr/lib32 + + make +} + +check() { + cd "${srcdir}/libffi-${pkgver}" + + make check +} + +package() { + cd "${srcdir}/libffi-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" + rm -r "${pkgdir}"/usr/share/{info,man} +} |