wok-6.x view libsndfile/receipt @ rev 22374

updated ilmbase and ilmbase-dev again (2.2.0 -> 2.3.0)
author Hans-G?nter Theisgen
date Wed Nov 27 16:47:30 2019 +0100 (2019-11-27)
parents 9736e603f8a1
children 83b97236db32
line source
1 # SliTaz package receipt.
3 PACKAGE="libsndfile"
4 VERSION="1.0.28"
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 WEB_SITE="http://www.mega-nerd.com/libsndfile/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/files/$TARBALL"
14 DEPENDS="alsa-lib libvorbis"
15 BUILD_DEPENDS="alsa-lib-dev libvorbis-dev"
17 HOST_ARCH="i486 arm"
19 # Handle slitaz arch
20 case "$SLITAZ_ARCH" in
21 i?86) DEPENDS="$DEPENDS flac" ;;
22 esac
24 # Handle cross compilation.
25 case "$ARCH" in
26 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;;
27 esac
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 --prefix=/usr \
34 --disable-sqlite \
35 $CONFIGURE_ARGS &&
36 make -j 1 &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }