wok-next view libsndfile/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 8b5b2a6d07b8
children 33293021c26d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsndfile"
4 VERSION="1.0.28"
5 CATEGORY="multimedia"
6 SHORT_DESC="Reading and writing files containing sampled sound"
7 MAINTAINER="devel@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="$PACKAGE-apps $PACKAGE-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 }