wok-next view hydrogen/receipt @ rev 11852

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