wok-next view audiofile/receipt @ rev 19769

Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 14 09:51:23 2017 +0300 (2017-06-14)
parents 11b5e93cb5f2
children f3a2b92891b4
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://audiofile.68k.org/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="alsa-lib"
15 BUILD_DEPENDS="alsa-lib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|-1 <<|-1U <<|' libaudiofile/modules/SimpleModule.h
21 ./configure \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }