wok-current annotate hydrogen/receipt @ rev 8726

Fixed slitaz-base-files. We use full path in now.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 18 22:24:19 2011 +0000 (2011-02-18)
parents
children c426edd7159d
rev   line source
slaxemulator@6811 1 # SliTaz package receipt.
slaxemulator@6811 2
slaxemulator@6811 3 PACKAGE="hydrogen"
slaxemulator@6811 4 VERSION="0.9.4.2"
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 }