# HG changeset patch # User Christophe Lincoln # Date 1246222225 -7200 # Node ID e96b5bb3b6635aee4badb8b695fd7de41fbf56d3 # Parent c982ededd96c6b5a5e0a3eaa1cb66edb7b2c99b4 Add gsl (Numerical library) diff -r c982ededd96c -r e96b5bb3b663 gsl-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsl-dev/receipt Sun Jun 28 22:50:25 2009 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="gsl-dev" +VERSION="1.12" +CATEGORY="development" +SHORT_DESC="Gsl devel files (library and headers)." +MAINTAINER="pankso@slitaz.org" +WANTED="gsl" +WEB_SITE="http://www.gnu.org/software/gsl/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/share/aclocal $fs/usr/share + cp -a $_pkg/usr/bin/*-config $fs/usr/bin + chmod +x $fs/usr/bin/* +} diff -r c982ededd96c -r e96b5bb3b663 gsl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsl/receipt Sun Jun 28 22:50:25 2009 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="gsl" +VERSION="1.12" +CATEGORY="development" +SHORT_DESC="Numerical library for C and C++ programmers." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gnu.org/software/gsl/" +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + rm $fs/usr/bin/*-config + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +}