mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
23 lines
596 B
Bash
23 lines
596 B
Bash
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
|
|
|
pkgname=gmp
|
|
pkgver=4.2.4
|
|
pkgrel=1
|
|
pkgdesc="A free library for arbitrary precision arithmetic"
|
|
arch=(arm)
|
|
depends=('gcc-libs' 'texinfo')
|
|
makedepends=('m4')
|
|
license=('LGPL3')
|
|
options=(!libtool)
|
|
source=(ftp://ftp.gnu.org/gnu/gmp/gmp-${pkgver}.tar.bz2)
|
|
url="http://gmplib.org/"
|
|
md5sums=('fc1e3b3a2a5038d4d74138d0b9cf8dbe')
|
|
|
|
build() {
|
|
cd "${srcdir}/gmp-${pkgver}"
|
|
|
|
./configure --prefix=/usr --enable-cxx --infodir=/usr/share/info || return 1
|
|
make || return 1
|
|
make check || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|