Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: Free library for arbitrary precision arithmetic |
2 | # URL: http://gmplib.org/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
84729e93 | 4 | # Arch Maintainer: CRUX ARM System Team, crux-arm at mikeux dot dyndns dot org |
6dca1d21 JB |
5 | # Depends on: |
6 | ||
7 | name=libgmp | |
84729e93 JB |
8 | version=4.3.1 |
9 | release=1 | |
6dca1d21 JB |
10 | source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2) |
11 | ||
12 | build() { | |
13 | cd gmp-$version | |
14 | ./configure --build=$CHOST \ | |
15 | --host=$CTARGET \ | |
16 | --prefix=/usr \ | |
17 | --enable-cxx | |
18 | make | |
19 | make DESTDIR=$PKG install | |
20 | rm -r $PKG/usr/info | |
21 | } |