wok-4.x annotate gmp/receipt @ rev 12054

xlockmore: new desktop file
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Mar 07 19:15:51 2012 -0800 (2012-03-07)
parents 4773dc63b2eb
children 654ef6aa1962
rev   line source
pankso@520 1 # SliTaz package receipt
pankso@520 2
pankso@520 3 PACKAGE="gmp"
slaxemulator@6516 4 VERSION="5.0.1"
pankso@520 5 CATEGORY="development"
pankso@520 6 SHORT_DESC="GNU Multiple Precision Arithmetic Library."
pankso@520 7 MAINTAINER="pankso@slitaz.org"
pankso@520 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@520 9 WEB_SITE="http://gmplib.org/"
pankso@520 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@520 11
slaxemulator@10575 12 DEPENDS="glibc-base"
gokhlayeh@11384 13 BUILD_DEPENDS="binutils"
slaxemulator@10575 14
pankso@520 15 # Rules to configure and make the package.
pankso@520 16 compile_rules()
pankso@520 17 {
pankso@520 18 cd $src
slaxemulator@10575 19 if [ -x /usr/bin/cook ]; then
slaxemulator@10575 20 [ -d "/var/lib/tazpkg/binutils" ] || tazpkg get-install binutils
slaxemulator@10575 21 fi
gokhlayeh@8190 22 # gmp try to cook for 64bits system if kernel can support when using
pankso@10026 23 # tmp toolchain. Not only and this export does nothing !!!
gokhlayeh@8190 24 export ABI=32
pankso@10026 25 ./configure $CONFIGURE_ARGS &&
pascal@1511 26 make &&
gokhlayeh@8190 27 # -j > 1 make install fails.
gokhlayeh@8190 28 make -j 1 install
pankso@520 29 }
pankso@520 30
pankso@520 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@520 32 genpkg_rules()
pankso@520 33 {
pankso@520 34 mkdir -p $fs/usr/lib
pankso@520 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@520 36 }
pankso@520 37