wok-current view libsndfile/receipt @ rev 16932

Add isync
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 20 11:39:38 2014 +0200 (2014-07-20)
parents 90efe33adc11
children eb224fc20462
line source
1 # SliTaz package receipt.
3 PACKAGE="libsndfile"
4 VERSION="1.0.23"
5 CATEGORY="multimedia"
6 SHORT_DESC="A C library for reading and writing files containing sampled sound"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mega-nerd.com/libsndfile/"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="alsa-lib libvorbis"
15 BUILD_DEPENDS="alsa-lib-dev libvorbis-dev"
17 # Handle slitaz arch
18 case "$SLITAZ_ARCH" in
19 i?86) DEPENDS="$DEPENDS flac" ;;
20 esac
22 # Handle cross compilation.
23 case "$ARCH" in
24 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 ./configure --prefix=/usr --disable-sqlite $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }