Gitlab has been upgraded to v13.9 🎉. Enjoy

testing/mpir: new aport

Multiple Precision Integers and Rationals
http://mpir.org/
parent 9ec6da17
Pipeline #59243 passed with stages
in 19 minutes and 25 seconds
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=mpir
pkgver=3.0.0
pkgrel=0
pkgdesc="Multiple Precision Integers and Rationals"
url="http://mpir.org/"
# Fails on ppc64le: "ABI version 1 is not compatible with ABI version 2 output"
arch="all !ppc64le"
license="LGPL-3.0-or-later"
makedepends="yasm m4"
subpackages="$pkgname-dev $pkgname-doc"
source="
http://mpir.org/mpir-$pkgver.tar.bz2
mpir.pc
mpirxx.pc
"
build() {
./configure \
--prefix=/usr \
--enable-cxx \
--disable-static
make
}
package() {
DESTDIR="$pkgdir" make install
install -Dm644 "$srcdir"/mpir.pc "$pkgdir"/usr/lib/pkgconfig/mpir.pc
sed -e "s/VERVERVER/$pkgver/" -i "$pkgdir"/usr/lib/pkgconfig/mpir.pc
install -Dm644 "$srcdir"/mpirxx.pc "$pkgdir"/usr/lib/pkgconfig/mpirxx.pc
sed -e "s/VERVERVER/$pkgver/" -i "$pkgdir"/usr/lib/pkgconfig/mpirxx.pc
}
check() {
make check-recursive
}
sha512sums="c735105db8b86db739fd915bf16064e6bc82d0565ad8858059e4e93f62c9d72d9a1c02a5ca9859b184346a8dc64fa714d4d61404cff1e405dc548cbd54d0a88e mpir-3.0.0.tar.bz2
dc29c16a735335485bae3a41221f1f0b5efc0a7cdb17bf6e200def55c3003edc1076e204855c30efa799c9a8e96f9ce454365231b5d850ff2cf5b42b4f8fb2ad mpir.pc
e8a7c8f2045ef49bf2efbb579a5983d30e3041bda67342a9854c79acee53c7bf2e42082427bbc39f625b43cde6af3ebe0b7ee4f8eead29dca98213e56954e3c4 mpirxx.pc"
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
modules=1
Name: mpir
Version: VERVERVER
Description: Multiple Precision Integers and Rationals.
Requires:
Libs: -L${libdir} -lmpir
Cflags: -I${includedir}
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
modules=1
Name: mpir C++
Version: VERVERVER
Description: Multiple Precision Integers and Rationals.
Requires:
Libs: -L${libdir} -lmpirxx
Cflags: -I${includedir}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment