summaryrefslogtreecommitdiff
path: root/libgmp
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-12-13 12:14:48 +0100
committerTim Biermann <tbier@posteo.de>2021-12-13 12:14:48 +0100
commitd074d673eb03cdef7cd55c6350406c91b359a17d (patch)
treee1d6fad1abd17dc59a031e313b612a7f83e17837 /libgmp
parent9e6e49207a129154c726ad6ea42ea3c2b62e797a (diff)
downloadcore-d074d673eb03cdef7cd55c6350406c91b359a17d.tar.gz
core-d074d673eb03cdef7cd55c6350406c91b359a17d.tar.xz
libgmp: syntax
Diffstat (limited to 'libgmp')
-rw-r--r--libgmp/.signature4
-rw-r--r--libgmp/Pkgfile29
2 files changed, 18 insertions, 15 deletions
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
}

Generated by cgit