wok annotate audiofile/receipt @ rev 9868
gtk+: clean up a bit the receipt to have a new build (bug with /etc/gtk-2.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 22:27:26 2011 +0200 (2011-05-16) |
parents | 1d0ce199819e |
children | 01d294e2fcd0 |
rev | line source |
---|---|
allan316@3643 | 1 # SliTaz package receipt. |
allan316@3643 | 2 |
allan316@3643 | 3 PACKAGE="audiofile" |
slaxemulator@5363 | 4 VERSION="0.2.7" |
allan316@3643 | 5 CATEGORY="development" |
allan316@3643 | 6 SHORT_DESC="provides a uniform and elegant API for accessing a variety of audio file formats" |
allan316@3643 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3643 | 8 DEPENDS="" |
allan316@3643 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3643 | 10 WEB_SITE="http://www.68k.org/~michael/audiofile/" |
slaxemulator@5363 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
allan316@3643 | 12 |
allan316@3643 | 13 # Rules to configure and make the package. |
allan316@3643 | 14 compile_rules() |
allan316@3643 | 15 { |
allan316@3643 | 16 cd $src |
allan316@3643 | 17 ./configure \ |
allan316@3643 | 18 --prefix=/usr \ |
allan316@3643 | 19 --infodir=/usr/share/info \ |
allan316@3643 | 20 --mandir=/usr/share/man \ |
allan316@3643 | 21 $CONFIGURE_ARGS && |
allan316@3643 | 22 make && make DESTDIR=$PWD/_pkg install |
allan316@3643 | 23 } |
allan316@3643 | 24 |
allan316@3643 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3643 | 26 genpkg_rules() |
allan316@3643 | 27 { |
allan316@3643 | 28 mkdir -p $fs/usr/lib |
allan316@3643 | 29 cp -a $_pkg/usr/bin $fs/usr |
allan316@3643 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
allan316@3643 | 31 } |
allan316@3643 | 32 |