wok-next view audiofile/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | ac33744dc2c2 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="audiofile"
4 VERSION="0.3.6"
5 CATEGORY="development"
6 SHORT_DESC="Uniform and elegant API for various audio file formats"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://audiofile.68k.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://audiofile.68k.org/$TARBALL"
14 BUILD_DEPENDS="alsa-lib-dev flac-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 sed -i 's|-1 <<|-1U <<|' libaudiofile/modules/SimpleModule.h
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 audiofile)
31 copy @std
32 DEPENDS="flac alsa-lib"
33 ;;
34 *-dev)
35 copy @dev
36 ;;
37 esac
38 }