wok-next annotate libsndfile/receipt @ rev 15592
tslib: add bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 02 20:19:52 2013 +0000 (2013-12-02) |
parents | bc341388571d |
children | 90efe33adc11 |
rev | line source |
---|---|
jozee@2659 | 1 # SliTaz package receipt. |
jozee@2659 | 2 |
jozee@2659 | 3 PACKAGE="libsndfile" |
slaxemulator@6705 | 4 VERSION="1.0.23" |
jozee@2659 | 5 CATEGORY="multimedia" |
jozee@2659 | 6 SHORT_DESC="A C library for reading and writing files containing sampled sound" |
jozee@2659 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15482 | 8 LICENSE="LGPL2.1" |
jozee@2659 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2659 | 10 WEB_SITE="http://www.mega-nerd.com/libsndfile/" |
slaxemulator@6179 | 11 WGET_URL="$WEB_SITE/files/$TARBALL" |
jozee@2659 | 12 |
pascal@15482 | 13 DEPENDS="alsa-lib flac libvorbis" |
pascal@15482 | 14 BUILD_DEPENDS="alsa-lib alsa-lib-dev flac-dev" |
pascal@15482 | 15 |
jozee@2659 | 16 # Rules to configure and make the package. |
jozee@2659 | 17 compile_rules() |
jozee@2659 | 18 { |
jozee@2659 | 19 cd $src |
slaxemulator@6179 | 20 ./configure --prefix=/usr --disable-sqlite $CONFIGURE_ARGS && |
pascal@2667 | 21 make && |
pascal@15482 | 22 make DESTDIR=$DESTDIR install |
jozee@2659 | 23 } |
jozee@2659 | 24 |
jozee@2659 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2659 | 26 genpkg_rules() |
jozee@2659 | 27 { |
jozee@2659 | 28 mkdir -p $fs/usr/lib |
pascal@15482 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
jozee@2659 | 30 } |