wok annotate lmms/receipt @ rev 16573

slitaz-base-files: get ride of /var/run symlink in pre_install
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 19:14:33 2014 +0200 (2014-05-02)
parents 34720ca57001
children 533c0cab6960
rev   line source
slaxemulator@6933 1 # SliTaz package receipt.
slaxemulator@6933 2
slaxemulator@6933 3 PACKAGE="lmms"
slaxemulator@12336 4 VERSION="0.4.13"
slaxemulator@6933 5 CATEGORY="multimedia"
slaxemulator@6933 6 SHORT_DESC="The Linux MultiMedia Studio"
slaxemulator@6933 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15001 8 LICENSE="GPL2"
pascal@15001 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15001 10 WEB_SITE="http://lmms.sourceforge.net/"
pascal@15001 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15001 12
pascal@12353 13 DEPENDS="libsdl glib fluidsynth libpng libvorbis fftw xorg-libXft \
pascal@12353 14 xorg-libXinerama libsamplerate libQtGui libQtXml"
pascal@12353 15 BUILD_DEPENDS="libsdl-dev glib-dev fftw-dev fluidsynth-dev libpng-dev \
pascal@12353 16 libogg-dev libvorbis-dev alsa-lib-dev xorg-libXft-dev xorg-libXinerama-dev \
pascal@12353 17 libsndfile-dev libsamplerate-dev Qt4-dev qt4-phonon qmake cmake pkg-config \
pascal@12353 18 freetype-dev"
slaxemulator@6933 19
slaxemulator@6933 20 # Rules to configure and make the package.
slaxemulator@6933 21 compile_rules()
slaxemulator@6933 22 {
slaxemulator@6933 23 cd $src
slaxemulator@6933 24 sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
slaxemulator@6933 25 cmake . -DCMAKE_INSTALL_PREFIX=/usr
slaxemulator@12336 26 make && make DESTDIR=$DESTDIR install
slaxemulator@6933 27 }
slaxemulator@6933 28
slaxemulator@6933 29 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6933 30 genpkg_rules()
slaxemulator@6933 31 {
slaxemulator@6933 32 mkdir -p $fs/usr
pascal@15001 33 cp -a $install/usr/* $fs/usr
slaxemulator@6933 34 }
slaxemulator@6933 35