wok annotate lmms/receipt @ rev 17464
Up mercurial (3.2.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 22 15:02:01 2014 +0100 (2014-12-22) |
parents | 408c87fa22ca |
children | 47e011a6bcee |
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 sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake |
slaxemulator@6933 | 24 cmake . -DCMAKE_INSTALL_PREFIX=/usr |
slaxemulator@12336 | 25 make && make DESTDIR=$DESTDIR install |
slaxemulator@6933 | 26 } |
slaxemulator@6933 | 27 |
slaxemulator@6933 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6933 | 29 genpkg_rules() |
slaxemulator@6933 | 30 { |
al@17261 | 31 mkdir -p $fs/usr/share |
al@17261 | 32 |
al@17261 | 33 cp -a $install/usr/bin $fs/usr |
al@17261 | 34 cp -a $install/usr/lib $fs/usr |
al@17261 | 35 cp -a $install/usr/share/lmms $fs/usr/share |
al@17261 | 36 rm -rf $fs/usr/share/lmms/locale |
slaxemulator@6933 | 37 } |