Commit | Line | Data |
---|---|---|
ecf4a234 VM |
1 | # Description: C library for the arithmetic of complex numbers |
2 | # URL: http://www.multiprecision.org/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
5 | # Depends on: libmpfr | |
6 | ||
7 | name=libmpc | |
3a370bf6 | 8 | version=1.0.2 |
ecf4a234 VM |
9 | release=1 |
10 | source=(http://www.multiprecision.org/mpc/download/mpc-$version.tar.gz) | |
11 | ||
12 | build() { | |
13 | cd mpc-$version | |
14 | ./configure --build=$CHOST \ | |
15 | --host=$CTARGET \ | |
b8ef1a72 | 16 | --prefix=/usr |
ecf4a234 VM |
17 | make |
18 | make DESTDIR=$PKG install | |
19 | rm -r $PKG/usr/share | |
20 | } |