wok annotate lmms/receipt @ rev 9036
iron-linux, squirrelmail plugins: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 00:08:04 2011 +0100 (2011-03-04) |
parents | 9f29d481b934 |
children | 307bd40735fa |
rev | line source |
---|---|
slaxemulator@6933 | 1 # SliTaz package receipt. |
slaxemulator@6933 | 2 |
slaxemulator@6933 | 3 PACKAGE="lmms" |
slaxemulator@8622 | 4 VERSION="0.4.10" |
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 |