summaryrefslogtreecommitdiffstats
path: root/libgmp/Pkgfile.old
blob: 0a7a46d51c211755f552c3bfe0ef36126a3ef607 (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
# URL:         http://gmplib.org/
# Maintainer:  CRUX System Team, core-ports at crux dot nu

name=libgmp
version=5.0.1
release=1
source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2)

build() {
    cd gmp-$version
    ABI=32 ./configure --prefix=/usr \
                       --enable-cxx \
                       --build=i686-pc-linux-gnu
    make
    make DESTDIR=$PKG install
    rm -r $PKG/usr/share
}