wok annotate mpfr/receipt @ rev 7094
Added atkmm.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 03 03:34:33 2010 +0000 (2010-11-03) |
parents | c4c3dd9c83ca |
children | 30f061368a04 |
rev | line source |
---|---|
pankso@520 | 1 # SliTaz package receipt |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="mpfr" |
slaxemulator@6517 | 4 VERSION="3.0.0" |
pankso@520 | 5 CATEGORY="development" |
pankso@520 | 6 SHORT_DESC="C library for multiple-precision floating-point computations." |
pankso@520 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2464 | 8 DEPENDS="make gmp" |
slaxemulator@6929 | 9 BUILD_DEPENDS="glibc-dev make gmp-dev gmp automake autoconf" |
pankso@520 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@520 | 11 WEB_SITE="http://www.mpfr.org/" |
pankso@520 | 12 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL" |
slaxemulator@6930 | 13 EXTRAVERSION="p4" |
pankso@520 | 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@6929 | 19 patch -Np1 -i ../stuff/mpfr-3.0.0-p4.patch |
pankso@520 | 20 ./configure \ |
pankso@520 | 21 --prefix=/usr \ |
pankso@520 | 22 --infodir=/usr/share/info \ |
pascal@1473 | 23 $CONFIGURE_ARGS && |
pascal@1473 | 24 make && |
pankso@520 | 25 make DESTDIR=$PWD/_pkg install |
pankso@520 | 26 } |
pankso@520 | 27 |
pankso@520 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@520 | 29 genpkg_rules() |
pankso@520 | 30 { |
pankso@520 | 31 mkdir -p $fs/usr/lib |
pankso@520 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@520 | 33 } |
pankso@520 | 34 |