wok annotate wavpack/receipt @ rev 10599
parole: fix bdeps and clean
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 15:26:37 2011 +0200 (2011-05-26) |
parents | |
children | 23c3aed67cd9 |
rev | line source |
---|---|
slaxemulator@7307 | 1 # SliTaz package receipt. |
slaxemulator@7307 | 2 |
slaxemulator@7307 | 3 PACKAGE="wavpack" |
slaxemulator@7307 | 4 VERSION="4.60.1" |
slaxemulator@7307 | 5 CATEGORY="multimedia" |
slaxemulator@7307 | 6 SHORT_DESC="Auto compression format with lossless, lossy, and hybrid compression modes." |
slaxemulator@7307 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7307 | 8 DEPENDS="glibc-base" |
slaxemulator@7307 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7307 | 10 WEB_SITE="http://www.wavpack.com" |
slaxemulator@7307 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
slaxemulator@7307 | 12 |
slaxemulator@7307 | 13 # Rules to configure and make the package. |
slaxemulator@7307 | 14 compile_rules() |
slaxemulator@7307 | 15 { |
slaxemulator@7307 | 16 cd $src |
slaxemulator@7307 | 17 ./configure \ |
slaxemulator@7307 | 18 --prefix=/usr \ |
slaxemulator@7307 | 19 --infodir=/usr/share/info \ |
slaxemulator@7307 | 20 --mandir=/usr/share/man \ |
slaxemulator@7307 | 21 $CONFIGURE_ARGS && |
slaxemulator@7307 | 22 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7307 | 23 } |
slaxemulator@7307 | 24 |
slaxemulator@7307 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7307 | 26 genpkg_rules() |
slaxemulator@7307 | 27 { |
slaxemulator@7307 | 28 mkdir -p $fs/usr/lib |
slaxemulator@7307 | 29 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7307 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7307 | 31 } |
slaxemulator@7307 | 32 |