wok-6.x annotate lmms/receipt @ rev 23824

Up openssh (8.3p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 28 13:18:28 2020 +0000 (2020-05-28)
parents 533c0cab6960
children 1df6fa555414
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
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 }