summaryrefslogtreecommitdiff
path: root/core/gmp
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /core/gmp
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'core/gmp')
-rw-r--r--core/gmp/.footprint8
-rw-r--r--core/gmp/.signature6
-rw-r--r--core/gmp/MAKEPKG43
3 files changed, 57 insertions, 0 deletions
diff --git a/core/gmp/.footprint b/core/gmp/.footprint
new file mode 100644
index 0000000..912399e
--- /dev/null
+++ b/core/gmp/.footprint
@@ -0,0 +1,8 @@
+drwxr-xr-x root/root include/
+-rw-r--r-- root/root include/gmp.h
+drwxr-xr-x root/root lib/
+-rwxr-xr-x root/root lib/libgmp.so.10.5.0
+lrwxrwxrwx root/root lib/libgmp.so -> libgmp.so.10.5.0
+lrwxrwxrwx root/root lib/libgmp.so.10 -> libgmp.so.10.5.0
+drwxr-xr-x root/root lib/pkgconfig/
+-rw-r--r-- root/root lib/pkgconfig/gmp.pc
diff --git a/core/gmp/.signature b/core/gmp/.signature
new file mode 100644
index 0000000..365a0ba
--- /dev/null
+++ b/core/gmp/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mLClxenH6MrREPraWMNpWS1BcQtBDcLNKULBdivXERi+F6B5wSGQh4yunuxDv04G2uNy8msBX1jb98jNRXfR4w0=
+
+SHA256 (MAKEPKG) = 29d9e51b8f39f85396e7b241fd58e71ddce2cd041120fc279f4700f8e2f458f1
+SHA256 (.footprint) = df8ca402670b21882c766cadf7ddd048ba1cb77c871726fcdd5576e9bb132b52
+SHA256 (gmp-6.3.0.tar.xz) = a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898
+SHA256 (gmp#6.3.0-2.pkg.tar.gz) = 86180093c65ae2a3f41f9a4a415d252c17d6e595f092bbc702dad53e94811b96
diff --git a/core/gmp/MAKEPKG b/core/gmp/MAKEPKG
new file mode 100644
index 0000000..d52ab8a
--- /dev/null
+++ b/core/gmp/MAKEPKG
@@ -0,0 +1,43 @@
+#!/bin/mkpkg
+# description: GNU multiple precision arithmetic library
+# url: https://gmplib.org
+
+name=gmp
+version=6.3.0
+release=2
+source=(https://ftp.gnu.org/gnu/gmp/gmp-$version.tar.xz)
+depends=()
+makedeps=(m4 findutils)
+
+sha256sums=(
+ "a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898"
+)
+
+build() {
+ cd gmp-$version
+
+ # C only. --enable-cxx builds libgmpxx, which links libc++/libc++abi/
+ # libunwind and makes the whole llvm toolchain a runtime dependency of
+ # anything that needs gmp -- nftables included. Nothing in the tree
+ # uses the C++ interface.
+ ./configure \
+ --prefix=/ \
+ --libdir=/lib \
+ --includedir=/include \
+ --mandir=/usr/share/man \
+ --disable-static \
+ --disable-cxx
+
+ make
+ make DESTDIR=$PKG install
+
+ # Remove info/docs
+ rm -rf $PKG/share
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh