From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- core/gmp/MAKEPKG | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 core/gmp/MAKEPKG (limited to 'core/gmp/MAKEPKG') 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 -- cgit v1.3.1