smlinux/base/mpfr/mpfr.SMBuild
PktSurf 1a260f04ce Disabled native language support (nls) in:
-> base/gdb,gdbm,glib,iso-codes,libgpg-error,
-> libidn2,libqalculate,popt,procps-ng,sudo,sysstat,texinfo,xz
Made fixes to a bunch of base build files to put stuff in /usr
2024-10-18 10:50:11 +05:30

32 lines
677 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=mpfr
version=3.1.6
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="
f022d9afdd479fe6c4e15efec09de64e975d35556bc4b75664b9dbb58fbcf4826d791e8c2f79d7f2ed7ec8659a5f2128abc5d04b57fb592d1081b03bb824de7c mpfr-3.1.6.tar.lz
"