SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gsl"

# SliTaz package receipt.

PACKAGE="gsl"
VERSION="2.7.1"
CATEGORY="development"
SHORT_DESC="Numerical library for C and C++ programmers."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://www.gnu.org/software/gsl/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;/latest/d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make $MAKEFLAGS &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    rm            $fs/usr/bin/*-config
    cook_copy_files        *.so*
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)