wok annotate wavpack/receipt @ rev 11886

fluxbox: Improve package integration
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 28 14:36:10 2012 +0100 (2012-02-28)
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