wok-current annotate libsndfile/receipt @ rev 17982

pavucontrol: remove patch
author Richard Dunbar <mojo@slitaz.org>
date Sun Apr 19 16:50:55 2015 -0400 (2015-04-19)
parents 90efe33adc11
children eb224fc20462
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"
pankso@16268 12 HOST_ARCH="i486 arm"
jozee@2659 13
pankso@16268 14 DEPENDS="alsa-lib libvorbis"
pankso@16268 15 BUILD_DEPENDS="alsa-lib-dev libvorbis-dev"
pankso@16268 16
pankso@16268 17 # Handle slitaz arch
pankso@16268 18 case "$SLITAZ_ARCH" in
pankso@16268 19 i?86) DEPENDS="$DEPENDS flac" ;;
pankso@16268 20 esac
pankso@16268 21
pankso@16268 22 # Handle cross compilation.
pankso@16268 23 case "$ARCH" in
pascal@16327 24 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;;
pankso@16268 25 esac
pascal@15482 26
jozee@2659 27 # Rules to configure and make the package.
jozee@2659 28 compile_rules()
jozee@2659 29 {
jozee@2659 30 cd $src
slaxemulator@6179 31 ./configure --prefix=/usr --disable-sqlite $CONFIGURE_ARGS &&
pascal@2667 32 make &&
pascal@15482 33 make DESTDIR=$DESTDIR install
jozee@2659 34 }
jozee@2659 35
jozee@2659 36 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2659 37 genpkg_rules()
jozee@2659 38 {
jozee@2659 39 mkdir -p $fs/usr/lib
pascal@15482 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
jozee@2659 41 }