wok-4.x view hydrogen/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents
children c426edd7159d
line source
1 # SliTaz package receipt.
3 PACKAGE="hydrogen"
4 VERSION="0.9.4.2"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="Advanced Drum Machine"
8 WEB_SITE="http://www.$PACKAGE-music.org/"
9 DEPENDS="libarchive liblrdf libQtCore libQtGui libQtXml jack-audio-connection-kit libsndfile"
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"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="multimedia"
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 export QTDIR=/usr
20 mkdir -p $PWD/_pkg
21 scons prefix=/usr libarchive=1
22 scons DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
31 }