SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gmp"

# SliTaz package receipt

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

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*
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)