smlinux/base/mpfr/smbuild

32 lines
No EOL
676 B
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=mpfr
version=4.2.1
build=1sml
homepage="https://www.mpfr.org/"
download="https://ftp.gnu.org/gnu/mpfr/mpfr-$version.tar.xz"
desc="Multiple-Precision Floating-Point Reliable Library"
requires="gmp"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
mkfinalpkg
}
sha512sums="
23cf3a6d213376288de2ab983dc189369a7a21ca5a95e54217a705331c7a33b282a74c7cf6aa0a220f1da89630891cf7a0ff13af1c0eccbbf603f7b6d874c578 mpfr-4.2.1.tar.lz
"