wok-current annotate gmp/receipt @ rev 15068

Up babl-dev, cookutils-daemon, frogatto-data, kmod-dev, libbonoboui-dev, libcomerr3, libcurl, libexo-dev, libpurple-dev, nagios-plugins-mysql, net6-dev, netatalk-dev, php-cups, pygobject-dev, remmina-dev, ruby-enterprise-doc, shutter-bug, ssfs-server, xfi, xfw, xine-fonts, xorg-server-Xvfb according the wanted their package versions
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 13:22:54 2013 +0000 (2013-08-13)
parents ba9a10a1fef4
children f4c22f009037
rev   line source
pankso@520 1 # SliTaz package receipt
pankso@520 2
pankso@520 3 PACKAGE="gmp"
pankso@12262 4 VERSION="5.0.4"
pankso@520 5 CATEGORY="development"
pankso@520 6 SHORT_DESC="GNU Multiple Precision Arithmetic Library."
pankso@520 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENCE="GPL3"
pankso@520 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@520 10 WEB_SITE="http://gmplib.org/"
pankso@520 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@520 12
slaxemulator@10575 13 DEPENDS="glibc-base"
al@13717 14 BUILD_DEPENDS="binutils m4"
slaxemulator@10575 15
pankso@520 16 # Rules to configure and make the package.
pankso@520 17 compile_rules()
pankso@520 18 {
pankso@520 19 cd $src
slaxemulator@10575 20 if [ -x /usr/bin/cook ]; then
slaxemulator@10575 21 [ -d "/var/lib/tazpkg/binutils" ] || tazpkg get-install binutils
slaxemulator@10575 22 fi
gokhlayeh@8190 23 # gmp try to cook for 64bits system if kernel can support when using
pankso@10026 24 # tmp toolchain. Not only and this export does nothing !!!
gokhlayeh@8190 25 export ABI=32
al@13717 26 ./configure $CONFIGURE_ARGS --enable-cxx &&
pascal@1511 27 make &&
gokhlayeh@8190 28 # -j > 1 make install fails.
gokhlayeh@8190 29 make -j 1 install
pankso@520 30 }
pankso@520 31
pankso@520 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@520 33 genpkg_rules()
pankso@520 34 {
pankso@520 35 mkdir -p $fs/usr/lib
pankso@12262 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@520 37 }
pankso@520 38