SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gmp"

# SliTaz package receipt

PACKAGE="gmp"
VERSION="5.0.1"
CATEGORY="development"
SHORT_DESC="GNU Multiple Precision Arithmetic Library."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://gmplib.org/"
WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="glibc-base"
BUILD_DEPENDS="binutils"

# Rules to configure and make the package.
compile_rules()
{    
    cd $src
    if [ -x /usr/bin/cook ]; then
        [ -d "/var/lib/tazpkg/binutils" ] || tazpkg get-install binutils
    fi
    # gmp try to cook for 64bits system if kernel can support when using
    # tmp toolchain. Not only and this export does nothing !!!
    export ABI=32
    ./configure $CONFIGURE_ARGS &&
    make &&
    # -j > 1 make install fails.
    make -j 1 install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)