SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gmp"

# SliTaz package receipt

PACKAGE="gmp"
VERSION="6.3.0"
CATEGORY="development"
SHORT_DESC="GNU Multiple Precision Arithmetic Library."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://www.gnu.org/software/gmp/"

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

BUILD_DEPENDS="binutils m4"

HOST_ARCH="i486 arm"

current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/current stable/!d;s|.* is ||;s|,.*||'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        --enable-cxx    \
        $CONFIGURE_ARGS &&
    # make -j > 1 install fails.
    make &&
    make -j 1 install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)