diff options
Diffstat (limited to 'multilib/lib32-gmp/PKGBUILD')
-rw-r--r-- | multilib/lib32-gmp/PKGBUILD | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/multilib/lib32-gmp/PKGBUILD b/multilib/lib32-gmp/PKGBUILD deleted file mode 100644 index 853b14c70..000000000 --- a/multilib/lib32-gmp/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Maintainer: Florian Pritz <bluewind@xinu.at> -# Contributor: josephgbr <rafael.f.f1@gmail.com> - -_pkgbasename=gmp -pkgname=lib32-$_pkgbasename -pkgver=5.0.3 -pkgrel=1 -pkgdesc="A free library for arbitrary precision arithmetic (32-bit)" -arch=('x86_64') -url="http://gmplib.org/" -depends=('lib32-gcc-libs' $_pkgbasename) -makedepends=(gcc-multilib) -license=('LGPL3') -options=(!libtool) -source=(ftp://ftp.gnu.org/gnu/gmp/gmp-${pkgver}.tar.bz2) -md5sums=('8061f765cc86b9765921a0c800615804') - -build() { - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - - cd "${srcdir}/${_pkgbasename}-${pkgver}" - - export ABI=32 - ./configure \ - --prefix=/usr --infodir=/usr/share/info \ - --enable-cxx --libdir=/usr/lib32 \ - --includedir=/usr/lib32/gmp - - #Put gmp.h in the same folder as gmpxx.h - sed -i 's/$(exec_prefix)\/include/$\(includedir\)/' Makefile - - make -} - -check() { - cd "${srcdir}/${_pkgbasename}-${pkgver}" - make check -} - -package() { - cd "${srcdir}/${_pkgbasename}-${pkgver}" - make DESTDIR="${pkgdir}" install - - rm -rf "${pkgdir}"/usr/{include,share,bin} -} |