wok-6.x view hydrogen/receipt @ rev 14509

get-src2pkg: fix pkg name
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:41:25 2013 +0200 (2013-05-14)
parents 65d6285b6570
children 380ffe05937a
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.
20 compile_rules()
21 {
22 cd $src
23 export QTDIR=/usr
24 mkdir -p $DESTDIR
25 scons prefix=/usr libarchive=1
26 scons -k DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
35 }