wok-6.x annotate lmms/receipt @ rev 7632

*-pam: reinstall core package in pre_remove()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 13 12:44:48 2010 +0100 (2010-12-13)
parents
children 9f29d481b934
rev   line source
slaxemulator@6933 1 # SliTaz package receipt.
slaxemulator@6933 2
slaxemulator@6933 3 PACKAGE="lmms"
slaxemulator@6933 4 VERSION="0.4.8"
slaxemulator@6933 5 CATEGORY="multimedia"
slaxemulator@6933 6 SHORT_DESC="The Linux MultiMedia Studio"
slaxemulator@6933 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6933 8 DEPENDS="libsdl glib fluidsynth libpng libvorbis xorg-libXft xorg-libXinerama libsamplerate libQtGui libQtXml"
slaxemulator@6933 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"
slaxemulator@6933 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@6933 11 WEB_SITE="http://lmms.sourceforge.net/"
slaxemulator@6933 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6933 13
slaxemulator@6933 14 # Rules to configure and make the package.
slaxemulator@6933 15 compile_rules()
slaxemulator@6933 16 {
slaxemulator@6933 17 cd $src
slaxemulator@6933 18 sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
slaxemulator@6933 19 cmake . -DCMAKE_INSTALL_PREFIX=/usr
slaxemulator@6933 20 make && make DESTDIR=$PWD/_pkg install
slaxemulator@6933 21 }
slaxemulator@6933 22
slaxemulator@6933 23 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6933 24 genpkg_rules()
slaxemulator@6933 25 {
slaxemulator@6933 26 mkdir -p $fs/usr
slaxemulator@6933 27 cp -a $_pkg/usr/* $fs/usr
slaxemulator@6933 28 }
slaxemulator@6933 29