wok-current view lmms/receipt @ rev 16724

Add cgal
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 02 20:08:48 2014 +0000 (2014-06-02)
parents 34720ca57001
children 533c0cab6960
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 libpng libvorbis fftw xorg-libXft \
14 xorg-libXinerama libsamplerate libQtGui libQtXml"
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 qt4-phonon qmake cmake pkg-config \
18 freetype-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
25 cmake . -DCMAKE_INSTALL_PREFIX=/usr
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/* $fs/usr
34 }