wok diff lmms/receipt @ rev 7397

linmodem-hsfmodem: check for modules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 26 20:59:24 2010 +0100 (2010-11-26)
parents
children 9f29d481b934
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lmms/receipt	Fri Nov 26 20:59:24 2010 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lmms"
     1.7 +VERSION="0.4.8"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="The Linux MultiMedia Studio"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="libsdl glib fluidsynth libpng libvorbis xorg-libXft xorg-libXinerama libsamplerate libQtGui libQtXml"
    1.12 +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"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://lmms.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
    1.22 +	cmake . -DCMAKE_INSTALL_PREFIX=/usr
    1.23 +	make && make DESTDIR=$PWD/_pkg install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr
    1.30 +	cp -a $_pkg/usr/* $fs/usr
    1.31 +}
    1.32 +