wok annotate lmms/receipt @ rev 24288
fail2ban: add log4j-jndi.conf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 13 18:29:05 2022 +0000 (2022-01-13) |
parents | 47e011a6bcee |
children | 9981cfce1dd8 |
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 \ |
psychomaniak@19584 | 14 xorg-libXinerama libsamplerate libQtGui libQtXml phonon-backend-gstreamer" |
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 \ |
psychomaniak@19584 | 17 libsndfile-dev libsamplerate-dev Qt4-dev phonon-dev qmake cmake pkg-config \ |
pascal@12353 | 18 freetype-dev" |
slaxemulator@6933 | 19 |
pascal@24288 | 20 current_version() |
pascal@24288 | 21 { |
pascal@24288 | 22 wget -O - https://github.com/LMMS/lmms/releases 2>/dev/null | \ |
pascal@24288 | 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24288 | 24 } |
pascal@24288 | 25 |
slaxemulator@6933 | 26 # Rules to configure and make the package. |
slaxemulator@6933 | 27 compile_rules() |
slaxemulator@6933 | 28 { |
slaxemulator@6933 | 29 sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake |
slaxemulator@6933 | 30 cmake . -DCMAKE_INSTALL_PREFIX=/usr |
slaxemulator@12336 | 31 make && make DESTDIR=$DESTDIR install |
slaxemulator@6933 | 32 } |
slaxemulator@6933 | 33 |
slaxemulator@6933 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6933 | 35 genpkg_rules() |
slaxemulator@6933 | 36 { |
al@17261 | 37 mkdir -p $fs/usr/share |
al@17261 | 38 |
al@17261 | 39 cp -a $install/usr/bin $fs/usr |
al@17261 | 40 cp -a $install/usr/lib $fs/usr |
al@17261 | 41 cp -a $install/usr/share/lmms $fs/usr/share |
al@17261 | 42 rm -rf $fs/usr/share/lmms/locale |
slaxemulator@6933 | 43 } |