smlinux/base/mpc/smbuild

36 lines
No EOL
746 B
Bash
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
# Generated by mksm SMLinux build file generator version 0.101
app=mpc
version=1.3.1
build=1sml
homepage="https://www.multiprecision.org/"
download="http://ftp.gnu.org/gnu/mpc/mpc-$version.tar.gz"
desc="Support utility for gcc"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--enable-shared
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
f41cdac7a2e59dc4841dce14f0627a4c9c1375533bb2791a3ca19872c22638fcce677b216978acc3767a4617f9de7647fcc8a005e0af4c9129fa9e4be5ecfa2f mpc-1.3.1.tar.lz
"