wok-next view libsndfile/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | 9736e603f8a1 |
children | 5841522533ec |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsndfile"
4 VERSION="1.0.27"
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 BUILD_DEPENDS="alsa-lib-dev libvorbis-dev flac-dev"
15 SPLIT="libsndfile-apps libsndfile-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --disable-static \
22 --docdir=/usr/share/doc/libsndfile-$VERSION \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 libsndfile)
32 copy *.so*
33 DEPENDS="flac libogg libvorbis"
34 ;;
35 *-apps)
36 copy bin/
37 CAT="multimedia|applications"
38 DEPENDS="alsa-lib libsndfile"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libsndfile libsndfile-apps flac-dev libogg-dev \
43 libvorbis-dev"
44 ;;
45 esac
46 }