smlinux/base/gsl/gsl.SMBuild
2022-01-28 23:06:05 +05:30

32 lines
683 B
Text
Executable file

APP=gsl
VERSION=2.6
BUILD=1sml
HOMEPAGE='https://www.gnu.org/software/gsl/gsl.html'
DOWNLOAD='https://ftp.gnu.org/gnu/gsl/gsl-2.6.tar.gz'
DESC="a numerical library for C and C++ programmers written in ANSI C"
REQUIRES="musl"
build() {
mkandenterbuilddir
rm -rf $APP-$VERSION
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
cd $APP-$VERSION
fixbuilddirpermissions
./configure \
--prefix="" \
--sysconfdir=/etc \
--disable-static
make
make install DESTDIR=$PKG
cp COPYING $PKGDOCS/
mkfinalpkg
}
SHA512SUMS="
b2f8d661282eca13417aa863136ae81b551f1919741d35de339c20616332b45b1a94f1f87aec9c496c4704cc0f88c84c50adca047846cf97eb87fef4aedc704f gsl-2.6.tar.lz
"