wok-next diff audiofile/receipt @ rev 20113
Add some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 09:29:31 2017 +0100 (2017-10-30) |
parents | 5985604a31ec |
children | c4e53a39395a |
line diff
1.1 --- a/audiofile/receipt Sun Apr 23 11:01:06 2017 +0200 1.2 +++ b/audiofile/receipt Mon Oct 30 09:29:31 2017 +0100 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="audiofile" 1.8 VERSION="0.3.4" 1.9 @@ -7,17 +7,19 @@ 1.10 MAINTAINER="allan316@gmail.com" 1.11 LICENSE="GPL2" 1.12 WEB_SITE="http://www.68k.org/~michael/audiofile/" 1.13 +HOST_ARCH="i486 arm" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 WGET_URL="http://audiofile.68k.org/$TARBALL" 1.17 -HOST_ARCH="i486 arm" 1.18 1.19 -DEPENDS="alsa-lib" 1.20 BUILD_DEPENDS="alsa-lib-dev" 1.21 +SPLIT="audiofile-dev" 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 sed -i 's|-1 <<|-1U <<|' libaudiofile/modules/SimpleModule.h 1.27 + 1.28 ./configure \ 1.29 $CONFIGURE_ARGS && 1.30 make && make DESTDIR=$DESTDIR install 1.31 @@ -26,7 +28,13 @@ 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 - mkdir -p $fs/usr/lib 1.36 - cp -a $install/usr/bin $fs/usr 1.37 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.38 + case $PACKAGE in 1.39 + audiofile) 1.40 + copy @std 1.41 + DEPENDS="alsa-lib" 1.42 + ;; 1.43 + *-dev) 1.44 + copy @dev 1.45 + ;; 1.46 + esac 1.47 }