wok-current annotate hydrogen/receipt @ rev 11589
hydrogen: install hack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 09 16:38:12 2012 +0100 (2012-01-09) |
parents | c426edd7159d |
children | 7b67247072b3 |
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" |
slaxemulator@6811 | 8 WEB_SITE="http://www.$PACKAGE-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 { |
slaxemulator@6811 | 32 mkdir -p $fs/usr/lib $fs/usr/share |
slaxemulator@6811 | 33 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6811 | 34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
slaxemulator@6811 | 35 } |