wok annotate mpc-library/receipt @ rev 6151
Up: lftp to 4.0.10.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 09 19:53:34 2010 +0000 (2010-09-09) |
parents | |
children | 617d180b0c1e |
rev | line source |
---|---|
pankso@5268 | 1 # SliTaz package receipt. |
pankso@5268 | 2 |
pankso@5268 | 3 PACKAGE="mpc-library" |
pankso@5268 | 4 VERSION="0.8.1" |
pankso@5268 | 5 CATEGORY="development" |
pankso@5268 | 6 SHORT_DESC="MPC is a C library for the arithmetic of complex numbers." |
pankso@5268 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5268 | 8 DEPENDS="" |
pankso@5268 | 9 BUILD_DEPENDS="slitaz-toolchain" |
pankso@5268 | 10 SOURCE="mpc" |
pankso@5268 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@5268 | 12 WEB_SITE="http://www.multiprecision.org/" |
pankso@5268 | 13 WGET_URL="http://www.multiprecision.org/mpc/download/$TARBALL" |
pankso@5268 | 14 |
pankso@5268 | 15 compile_rules() |
pankso@5268 | 16 { |
pankso@5268 | 17 cd $src |
pankso@5268 | 18 ./configure \ |
pankso@5268 | 19 --prefix=/usr \ |
pankso@5268 | 20 --infodir=/usr/share/info \ |
pankso@5268 | 21 --mandir=/usr/share/man \ |
pankso@5268 | 22 $CONFIGURE_ARGS && |
pankso@5268 | 23 make && |
pankso@5268 | 24 make DESTDIR=$PWD/_pkg install |
pankso@5268 | 25 } |
pankso@5268 | 26 |
pankso@5268 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5268 | 28 genpkg_rules() |
pankso@5268 | 29 { |
pankso@5268 | 30 mkdir -p $fs/usr |
pankso@5268 | 31 cp -a $_pkg/usr/lib $fs/usr |
pankso@5268 | 32 cp -a $_pkg/usr/include $fs/usr |
pankso@5268 | 33 } |
pankso@5268 | 34 |