wok-6.x annotate mpc-library/receipt @ rev 7590
Up: audacious to 2.4.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Dec 10 07:21:39 2010 +0000 (2010-12-10) |
parents | 827f40b0fa4e |
children | f00e7ade0d04 |
rev | line source |
---|---|
pankso@5268 | 1 # SliTaz package receipt. |
pankso@5268 | 2 |
pankso@5268 | 3 PACKAGE="mpc-library" |
pascal@6525 | 4 VERSION="0.8.2" |
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 |