wok view lmms/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents 9f29d481b934
children 307bd40735fa
line source
1 # SliTaz package receipt.
3 PACKAGE="lmms"
4 VERSION="0.4.10"
5 CATEGORY="multimedia"
6 SHORT_DESC="The Linux MultiMedia Studio"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libsdl glib fluidsynth libpng libvorbis xorg-libXft xorg-libXinerama libsamplerate libQtGui libQtXml"
9 BUILD_DEPENDS="libsdl-dev glib-dev fluidsynth-dev libpng-dev libogg-dev libvorbis-dev alsa-lib-dev xorg-libXft-dev xorg-libXinerama-dev libsndfile-dev libsamplerate-dev Qt4-dev qt4-phonon qmake cmake pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://lmms.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
19 cmake . -DCMAKE_INSTALL_PREFIX=/usr
20 make && make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/* $fs/usr
28 }