wok annotate gmp/receipt @ rev 5588
xorg-xf86-video-ati: enable-dri; improve receipt for multimedia modules
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon May 17 07:35:08 2010 -0400 (2010-05-17) |
parents | 3d99ecce2d4b |
children | 30a97b458420 |
rev | line source |
---|---|
pankso@520 | 1 # SliTaz package receipt |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="gmp" |
pankso@5242 | 4 VERSION="4.3.2" |
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 DEPENDS="make" |
pascal@1511 | 9 BUILD_DEPENDS="glibc-dev make m4" |
pankso@520 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@520 | 11 WEB_SITE="http://gmplib.org/" |
pankso@520 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@520 | 13 |
pankso@520 | 14 # Rules to configure and make the package. |
pankso@520 | 15 compile_rules() |
pankso@520 | 16 { |
pankso@520 | 17 cd $src |
pankso@520 | 18 ./configure \ |
pankso@520 | 19 --prefix=/usr \ |
pankso@520 | 20 --infodir=/usr/share/info \ |
pascal@1511 | 21 $CONFIGURE_ARGS && |
pascal@1511 | 22 make && |
pankso@520 | 23 make DESTDIR=$PWD/_pkg install |
pankso@520 | 24 } |
pankso@520 | 25 |
pankso@520 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@520 | 27 genpkg_rules() |
pankso@520 | 28 { |
pankso@520 | 29 mkdir -p $fs/usr/lib |
pankso@520 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@520 | 31 } |
pankso@520 | 32 |