wok-next view audiofile/receipt @ rev 20010

Up rsnapshot (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 21 18:08:51 2017 +0200 (2017-10-21)
parents 5985604a31ec
children c4e53a39395a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="audiofile"
4 VERSION="0.3.4"
5 CATEGORY="development"
6 SHORT_DESC="Uniform and elegant API for various audio file formats"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.68k.org/~michael/audiofile/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://audiofile.68k.org/$TARBALL"
15 BUILD_DEPENDS="alsa-lib-dev"
16 SPLIT="audiofile-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|-1 <<|-1U <<|' libaudiofile/modules/SimpleModule.h
23 ./configure \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 audiofile)
33 copy @std
34 DEPENDS="alsa-lib"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }