wok-next view audiofile/receipt @ rev 21358

gobby: removed sed command from compile_rules
author Hans-G?nter Theisgen
date Sun Apr 12 07:08:52 2020 +0100 (2020-04-12)
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 }