ports/core (3.7): libgmp: syntax
![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit d074d673eb03cdef7cd55c6350406c91b359a17d Author: Tim Biermann <tbier@posteo.de> Date: Mon Dec 13 12:14:48 2021 +0100 libgmp: syntax diff --git a/libgmp/.signature b/libgmp/.signature index fe927fe1..3d87ff74 100644 --- a/libgmp/.signature +++ b/libgmp/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/core.pub -RWRJc1FUaeVeqpSUYl3pUPsUfzMxMkBsWpd9Gq6mEBv8SJeqLP+2lMdVFAZZ4IfqxikU0rBjMFGLdOHojBoUsZw08JtxIssYEQc= -SHA256 (Pkgfile) = bb5774245ea25b0af59173961ee08c77d82540858c7abaa08161b5b267b6ae01 +RWRJc1FUaeVeqsxHsLi4CB85l5hClSF3ZCRHtklF5gJ0Jh6eyL6xKlU+4/+P8p74T5AnGbPpBIKwt1lD+DuTowCXJGBnATJG7ww= +SHA256 (Pkgfile) = 5a036140c119507ed94c1d6046a37180a935e68517a821e392b32485acff7a11 SHA256 (.footprint) = 1ca26d9b391eb816f93a2ec71e64177cad68a67de43683a2a869b2783f93408d SHA256 (gmp-6.2.1.tar.xz) = fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2 SHA256 (gmp.h) = cb7b929922d1200b40b29b092758220fe0b8fa9bb16698ce646ff1ce3e0cbf9d diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile index 820ec3a9..bbc739cd 100644 --- a/libgmp/Pkgfile +++ b/libgmp/Pkgfile @@ -1,21 +1,24 @@ # Description: Free library for arbitrary precision arithmetic -# URL: https://gmplib.org/ -# Maintainer: CRUX System Team, core-ports at crux dot nu +# URL: https://gmplib.org/ +# Maintainer: CRUX System Team, core-ports at crux dot nu name=libgmp version=6.2.1 release=1 -source=(https://gmplib.org/download/gmp/gmp-$version.tar.xz \ - gmp.h) +source=(https://gmplib.org/download/gmp/gmp-$version.tar.xz + gmp.h) build() { - cd gmp-$version - ./configure --prefix=/usr \ - --enable-cxx \ - --build=x86_64-unknown-linux-gnu - make - make DESTDIR=$PKG install - mv $PKG/usr/include/gmp{,-64}.h - install -m 0644 $SRC/gmp.h $PKG/usr/include/ - rm -r $PKG/usr/share + cd gmp-$version + + ./configure --prefix=/usr \ + --enable-cxx \ + --build=x86_64-unknown-linux-gnu + make + make DESTDIR=$PKG install + + mv $PKG/usr/include/gmp{,-64}.h + install -m 0644 $SRC/gmp.h $PKG/usr/include/ + + rm -r $PKG/usr/share }
participants (1)
-
crux@crux.nu