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

shaarli: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 20 12:48:01 2013 +0100 (2013-02-20)
parents 307bd40735fa
children 408c87fa22ca
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 DEPENDS="libsdl glib fluidsynth libpng libvorbis fftw xorg-libXft \
9 xorg-libXinerama libsamplerate libQtGui libQtXml"
10 BUILD_DEPENDS="libsdl-dev glib-dev fftw-dev fluidsynth-dev libpng-dev \
11 libogg-dev libvorbis-dev alsa-lib-dev xorg-libXft-dev xorg-libXinerama-dev \
12 libsndfile-dev libsamplerate-dev Qt4-dev qt4-phonon qmake cmake pkg-config \
13 freetype-dev"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WEB_SITE="http://lmms.sourceforge.net/"
16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
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
31 cp -a $_pkg/usr/* $fs/usr
32 }