wok-current annotate hydrogen/receipt @ rev 12796
nqc: fix wierd TARBALL name side effect
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 18 09:52:37 2012 +0200 (2012-05-18) |
parents | 7b67247072b3 |
children | 65d6285b6570 |
rev | line source |
---|---|
slaxemulator@6811 | 1 # SliTaz package receipt. |
slaxemulator@6811 | 2 |
slaxemulator@6811 | 3 PACKAGE="hydrogen" |
slaxemulator@9302 | 4 VERSION="0.9.5" |
slaxemulator@6811 | 5 CATEGORY="multimedia" |
slaxemulator@6811 | 6 MAINTAINER="jozee@slitaz.org" |
slaxemulator@6811 | 7 SHORT_DESC="Advanced Drum Machine" |
pascal@11590 | 8 WEB_SITE="http://www.hydrogen-music.org/" |
pascal@11589 | 9 DEPENDS="libarchive liblrdf libQtCore libQtGui libQtXml \ |
pascal@11589 | 10 jack-audio-connection-kit libsndfile" |
pascal@11589 | 11 BUILD_DEPENDS="scons libarchive-dev liblrdf-dev Qt4-dev \ |
pascal@11589 | 12 jack-audio-connection-kit jack-audio-connection-kit-dev \ |
pascal@11589 | 13 flac-dev libsndfile-dev alsa-lib-dev zlib-dev libtar-dev \ |
pascal@11589 | 14 ladspa-dev raptor-dev pkg-config subversion" |
slaxemulator@6811 | 15 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6811 | 16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@6811 | 17 TAGS="multimedia" |
slaxemulator@6811 | 18 |
slaxemulator@6811 | 19 # Rules to configure and make the package. |
slaxemulator@6811 | 20 |
slaxemulator@6811 | 21 compile_rules() { |
slaxemulator@6811 | 22 cd $src |
slaxemulator@6811 | 23 export QTDIR=/usr |
slaxemulator@6811 | 24 mkdir -p $PWD/_pkg |
slaxemulator@6811 | 25 scons prefix=/usr libarchive=1 |
pascal@11589 | 26 scons -k DESTDIR=$PWD/_pkg install || true |
slaxemulator@6811 | 27 } |
slaxemulator@6811 | 28 |
slaxemulator@6811 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6811 | 30 genpkg_rules() |
slaxemulator@6811 | 31 { |
pascal@11623 | 32 mkdir -p $fs/usr/lib $fs/usr/share/applications |
pascal@11623 | 33 cp -a $stuff/hydrogen.desktop $fs/usr/share/applications |
slaxemulator@6811 | 34 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6811 | 35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
slaxemulator@6811 | 36 } |