wok-next annotate audiofile/receipt @ rev 19697
audiofile: gcc6 bug workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 23 11:01:06 2017 +0200 (2017-04-23) |
parents | 11b5e93cb5f2 |
children | f3a2b92891b4 |
rev | line source |
---|---|
allan316@3643 | 1 # SliTaz package receipt. |
allan316@3643 | 2 |
allan316@3643 | 3 PACKAGE="audiofile" |
slaxemulator@12899 | 4 VERSION="0.3.4" |
allan316@3643 | 5 CATEGORY="development" |
pankso@16034 | 6 SHORT_DESC="Uniform and elegant API for various audio file formats" |
allan316@3643 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19275 | 9 WEB_SITE="http://www.68k.org/~michael/audiofile/" |
allan316@3643 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@12321 | 11 WGET_URL="http://audiofile.68k.org/$TARBALL" |
pankso@16122 | 12 HOST_ARCH="i486 arm" |
slaxemulator@12321 | 13 |
slaxemulator@12321 | 14 DEPENDS="alsa-lib" |
slaxemulator@12321 | 15 BUILD_DEPENDS="alsa-lib-dev" |
allan316@3643 | 16 |
allan316@3643 | 17 # Rules to configure and make the package. |
allan316@3643 | 18 compile_rules() |
allan316@3643 | 19 { |
pascal@19697 | 20 sed -i 's|-1 <<|-1U <<|' libaudiofile/modules/SimpleModule.h |
allan316@3643 | 21 ./configure \ |
allan316@3643 | 22 $CONFIGURE_ARGS && |
slaxemulator@12321 | 23 make && make DESTDIR=$DESTDIR install |
allan316@3643 | 24 } |
allan316@3643 | 25 |
allan316@3643 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3643 | 27 genpkg_rules() |
allan316@3643 | 28 { |
allan316@3643 | 29 mkdir -p $fs/usr/lib |
slaxemulator@12899 | 30 cp -a $install/usr/bin $fs/usr |
slaxemulator@12899 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
allan316@3643 | 32 } |