wok-next view lmms/receipt @ rev 20718

paulstretch: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:09:21 2018 +0300 (2018-05-27)
parents dd145c435e4b
children d5aab818505e
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.bz2"
10 WEB_SITE="http://lmms.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libsdl glib fluidsynth libpng16 libvorbis fftw xorg-libXft \
14 xorg-libXinerama libsamplerate libQtGui libQtXml"
15 BUILD_DEPENDS="libsdl-dev glib-dev fftw-dev fluidsynth-dev libpng16-dev \
16 libogg-dev libvorbis-dev alsa-lib-dev xorg-libXft-dev xorg-libXinerama-dev \
17 libsndfile-dev libsamplerate-dev Qt4-dev qt4-phonon qmake cmake freetype-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
23 cmake . -DCMAKE_INSTALL_PREFIX=/usr
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 cp -a $install/usr/share/lmms $fs/usr/share
35 rm -rf $fs/usr/share/lmms/locale
36 }