wok-6.x view lmms/receipt @ rev 25107

Up open-iscsi (2.0.873)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 17:23:49 2022 +0000 (2022-06-22)
parents 1df6fa555414
children 8ea0030e77cb
line source
1 # SliTaz package receipt.
3 PACKAGE="lmms"
4 VERSION="0.4.13"
5 CATEGORY="multimedia"
6 SHORT_DESC="The Linux MultiMedia Studio"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://lmms.sourceforge.net/"
11 WGET_URL="https://github.com/LMMS/lmms/archive/refs/tags/v$VERSION.tar.gz"
13 DEPENDS="libsdl glib fluidsynth libpng libvorbis fftw xorg-libXft \
14 xorg-libXinerama libsamplerate libQtGui libQtXml phonon-backend-gstreamer"
15 BUILD_DEPENDS="libsdl-dev glib-dev fftw-dev fluidsynth-dev libpng-dev \
16 libogg-dev libvorbis-dev alsa-lib-dev xorg-libXft-dev xorg-libXinerama-dev \
17 libsndfile-dev libsamplerate-dev Qt4-dev phonon-dev qmake cmake pkg-config \
18 freetype-dev"
20 current_version()
21 {
22 wget -O - https://github.com/LMMS/lmms/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
30 cmake . -DCMAKE_INSTALL_PREFIX=/usr
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/usr/share/lmms $fs/usr/share
42 rm -rf $fs/usr/share/lmms/locale
43 }