wok-next view libsndfile/receipt @ rev 20859
Update ALSA stack (1.1.6)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 27 13:35:43 2018 +0300 (2018-06-27) |
parents | bfc47a018aaa |
children | 8b5b2a6d07b8 |
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 compile_rules() {
18 ./configure \
19 --disable-static \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libsndfile)
29 copy *.so*
30 DEPENDS="flac libogg libvorbis"
31 ;;
32 *-apps)
33 copy bin/
34 CAT="multimedia|applications"
35 DEPENDS="alsa-lib libsndfile"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="libsndfile libsndfile-apps flac-dev libogg-dev \
40 libvorbis-dev"
41 ;;
42 esac
43 }