diff options
| author | zorz <zorz@krypt.sh> | 2026-05-05 18:29:35 +0300 |
|---|---|---|
| committer | zorz <zorz@krypt.sh> | 2026-05-05 18:29:35 +0300 |
| commit | 3ee93968e10126adc7dad5c8872f0170c3421e13 (patch) | |
| tree | bcac8daa62b6c9a94a48dae87f5d3f6de1985bba /libmpc | |
| parent | 936433a5deb6ccc8f8476096f2c2b8dc72c33388 (diff) | |
| download | zorz-3ee93968e10126adc7dad5c8872f0170c3421e13.tar.gz zorz-3ee93968e10126adc7dad5c8872f0170c3421e13.tar.xz | |
various obsolette
Diffstat (limited to 'libmpc')
| -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 | ||