#!/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