blob: dfe8cdf6a3851ca60c90d4048e7a53c4561bfa43 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/mkpkg
# description: C library for the arithmetic of complex numbers
# url: http://www.multiprecision.org/
name=libmpc
version=1.3.1
release=1
depends=(gmp mpfr)
source=(
https://ftpmirror.gnu.org/gnu/mpc/mpc-$version.tar.gz
)
sha256sums=(
"ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8"
)
build() {
cd mpc-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share
rm -f $PKG/usr/lib/*.la
}
# vim: filetype=sh
|