summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/gmp
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/gmp')
-rw-r--r--abs/core-testing/gmp/PKGBUILD27
-rw-r--r--abs/core-testing/gmp/gmp.install20
2 files changed, 0 insertions, 47 deletions
diff --git a/abs/core-testing/gmp/PKGBUILD b/abs/core-testing/gmp/PKGBUILD
deleted file mode 100644
index 0eee2df..0000000
--- a/abs/core-testing/gmp/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 72634 2010-03-19 02:57:15Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=gmp
-pkgver=5.0.1
-pkgrel=1
-pkgdesc="A free library for arbitrary precision arithmetic"
-arch=('i686' 'x86_64')
-url="http://gmplib.org/"
-depends=('gcc-libs' 'sh')
-license=('LGPL3')
-options=(!libtool)
-install=gmp.install
-source=(ftp://ftp.gnu.org/gnu/gmp/gmp-${pkgver}.tar.bz2)
-md5sums=('6bac6df75c192a13419dfd71d19240a7')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- [ "${CARCH}" = "i686" ] && export ABI="32"
- ./configure --build=$CHOST \
- --prefix=/usr --infodir=/usr/share/info \
- --enable-cxx || return 1
- make || return 1
- make check || return 1
- make DESTDIR="${pkgdir}" install || return 1
-}
diff --git a/abs/core-testing/gmp/gmp.install b/abs/core-testing/gmp/gmp.install
deleted file mode 100644
index 1c31ab3..0000000
--- a/abs/core-testing/gmp/gmp.install
+++ /dev/null
@@ -1,20 +0,0 @@
-info_dir=/usr/share/info
-info_files=(gmp.info gmp.info-1 gmp.info-2)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for f in ${info_files[@]}; do
- install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for f in ${info_files[@]}; do
- install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}