summaryrefslogtreecommitdiffstats
path: root/libgmp/Pkgfile
blob: c916471e188a458e97e3e6ce77f46274edc2b0de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
description="Free library for arbitrary precision arithmetic."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://gmplib.org/"
depends=()

name=libgmp
version=5.0.1
release=1
source=(ftp://ftp.gnu.org/gnu/${name/lib}/${name/lib}-$version.tar.bz2)
build () 
{ 
    cd gmp-$version;
    # FIXME: This is not portable, and will cause problems.
    ABI=32 ./configure --prefix=$prefix --mandir=$mandir --enable-cxx --build=i686-pc-linux-gnu;
    make;
    make DESTDIR=$PKG install;
}