wok-stable annotate hydrogen/receipt @ rev 9717
slitaz-toolchain: Let create a new toolchain in one command for cookutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 09 01:35:10 2011 +0200 (2011-05-09) |
parents | d42ac9169e87 |
children | 43c15982aac2 |
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/" |
slaxemulator@6811 | 9 DEPENDS="libarchive liblrdf libQtCore libQtGui libQtXml jack-audio-connection-kit libsndfile" |
slaxemulator@6811 | 10 BUILD_DEPENDS="scons libarchive-dev liblrdf-dev Qt4-dev jack-audio-connection-kit jack-audio-connection-kit-dev flac-dev libsndfile-dev alsa-lib-dev zlib-dev libtar-dev ladspa-dev raptor-dev pkg-config" |
slaxemulator@6811 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6811 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@6811 | 13 TAGS="multimedia" |
slaxemulator@6811 | 14 |
slaxemulator@6811 | 15 # Rules to configure and make the package. |
slaxemulator@6811 | 16 |
slaxemulator@6811 | 17 compile_rules() { |
slaxemulator@6811 | 18 cd $src |
slaxemulator@6811 | 19 export QTDIR=/usr |
slaxemulator@6811 | 20 mkdir -p $PWD/_pkg |
slaxemulator@6811 | 21 scons prefix=/usr libarchive=1 |
slaxemulator@6811 | 22 scons DESTDIR=$PWD/_pkg install |
slaxemulator@6811 | 23 } |
slaxemulator@6811 | 24 |
slaxemulator@6811 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6811 | 26 genpkg_rules() |
slaxemulator@6811 | 27 { |
slaxemulator@6811 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
slaxemulator@6811 | 29 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6811 | 30 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
slaxemulator@6811 | 31 } |