wok view hydrogen/receipt @ rev 25687

updated sc-im (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Thu Apr 11 14:51:51 2024 +0100 (7 months ago)
parents ba7cbdb5749c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="hydrogen"
4 VERSION="0.9.5"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="Advanced Drum Machine"
9 WEB_SITE="https://github.com/hydrogen-music/hydrogen"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="multimedia"
14 DEPENDS="libarchive liblrdf libQtCore libQtGui libQtXml \
15 jack-audio-connection-kit libsndfile"
16 BUILD_DEPENDS="scons libarchive-dev liblrdf-dev Qt4-dev \
17 jack-audio-connection-kit jack-audio-connection-kit-dev \
18 flac-dev libsndfile-dev alsa-lib-dev zlib-dev libtar-dev \
19 ladspa-dev raptor-dev pkg-config subversion"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/hydrogen/files/Hydrogen/ 2>/dev/null | \
25 sed '/scope="row/!d;s|.*/Hydrogen/||;s|%20.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cd $src
32 export QTDIR=/usr
33 mkdir -p $DESTDIR
34 scons prefix=/usr libarchive=1
35 scons -k DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/$PACKAGE $fs/usr/share
44 }