wok-next annotate audiofile/receipt @ rev 14779
Add alien
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 04 08:55:30 2013 +0200 (2013-07-04) |
parents | 01d294e2fcd0 |
children | 380ffe05937a |
rev | line source |
---|---|
allan316@3643 | 1 # SliTaz package receipt. |
allan316@3643 | 2 |
allan316@3643 | 3 PACKAGE="audiofile" |
slaxemulator@12899 | 4 VERSION="0.3.4" |
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" |
slaxemulator@12321 | 8 LICENSE="LGPL" |
allan316@3643 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3643 | 10 WEB_SITE="http://www.68k.org/~michael/audiofile/" |
slaxemulator@12321 | 11 WGET_URL="http://audiofile.68k.org/$TARBALL" |
slaxemulator@12321 | 12 |
slaxemulator@12321 | 13 DEPENDS="alsa-lib" |
slaxemulator@12321 | 14 BUILD_DEPENDS="alsa-lib-dev" |
allan316@3643 | 15 |
allan316@3643 | 16 # Rules to configure and make the package. |
allan316@3643 | 17 compile_rules() |
allan316@3643 | 18 { |
allan316@3643 | 19 cd $src |
allan316@3643 | 20 ./configure \ |
allan316@3643 | 21 $CONFIGURE_ARGS && |
slaxemulator@12321 | 22 make && make DESTDIR=$DESTDIR 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 |
slaxemulator@12899 | 29 cp -a $install/usr/bin $fs/usr |
slaxemulator@12899 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
allan316@3643 | 31 } |
allan316@3643 | 32 |