wok-current view libsndfile/receipt @ rev 17805
Up caja (1.9.3)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Mar 21 03:28:25 2015 -0300 (2015-03-21) |
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 }