wok-next view audiofile/receipt @ rev 20712

libtorrent: fix rtorrent building for non-64bit archs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 12:13:53 2018 +0300 (2018-05-27)
parents c4e53a39395a
children ac33744dc2c2
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://audiofile.68k.org/$TARBALL"
14 BUILD_DEPENDS="alsa-lib-dev"
15 SPLIT="audiofile-dev"
17 compile_rules() {
18 sed -i 's|-1 <<|-1U <<|' libaudiofile/modules/SimpleModule.h
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 audiofile)
29 copy @std
30 DEPENDS="alsa-lib"
31 ;;
32 *-dev)
33 copy @dev
34 ;;
35 esac
36 }