diff options
Diffstat (limited to 'libmpc/MAKEPKG')
| -rw-r--r-- | libmpc/MAKEPKG | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libmpc/MAKEPKG b/libmpc/MAKEPKG new file mode 100644 index 0000000..dfe8cdf --- /dev/null +++ b/libmpc/MAKEPKG | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | #!/bin/mkpkg | ||
| 2 | # description: C library for the arithmetic of complex numbers | ||
| 3 | # url: http://www.multiprecision.org/ | ||
| 4 | |||
| 5 | name=libmpc | ||
| 6 | version=1.3.1 | ||
| 7 | release=1 | ||
| 8 | depends=(gmp mpfr) | ||
| 9 | source=( | ||
| 10 | https://ftpmirror.gnu.org/gnu/mpc/mpc-$version.tar.gz | ||
| 11 | ) | ||
| 12 | |||
| 13 | sha256sums=( | ||
| 14 | "ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8" | ||
| 15 | ) | ||
| 16 | |||
| 17 | build() { | ||
| 18 | cd mpc-$version | ||
| 19 | |||
| 20 | ./configure --prefix=/usr | ||
| 21 | make | ||
| 22 | make DESTDIR=$PKG install | ||
| 23 | |||
| 24 | rm -r $PKG/usr/share | ||
| 25 | rm -f $PKG/usr/lib/*.la | ||
| 26 | } | ||
| 27 | |||
| 28 | # vim: filetype=sh | ||