# SliTaz package receipt PACKAGE="gmp" VERSION="6.2.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 m4" # 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 --enable-cxx $CONFIGURE_ARGS && make && # make check all pass but output break cook # -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 }