34 lines
724 B
Text
34 lines
724 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=gsl
|
|
version=2.6
|
|
build=1sml
|
|
homepage="https://www.gnu.org/software/gsl/gsl.html"
|
|
download="https://ftp.gnu.org/gnu/gsl/gsl-$version.tar.gz"
|
|
desc="Numerical library for C and C++ programmers written in ANSI C"
|
|
requires="musl"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix="" \
|
|
--disable-static
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
b2f8d661282eca13417aa863136ae81b551f1919741d35de339c20616332b45b1a94f1f87aec9c496c4704cc0f88c84c50adca047846cf97eb87fef4aedc704f gsl-2.6.tar.lz
|
|
"
|