wok-next diff lmms/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d43bf7aae921
children 5669e8b3be70
line diff
     1.1 --- a/lmms/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/lmms/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,36 +1,32 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="lmms"
     1.8  VERSION="0.4.13"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="The Linux MultiMedia Studio"
    1.11 -MAINTAINER="slaxemulator@gmail.com"
    1.12 +MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://lmms.io/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://lmms.sourceforge.net/"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS="libsdl glib fluidsynth libpng16 libvorbis fftw xorg-libXft \
    1.21 -xorg-libXinerama libsamplerate libQtGui libQtXml"
    1.22  BUILD_DEPENDS="libsdl-dev glib-dev fftw-dev fluidsynth-dev libpng16-dev \
    1.23  libogg-dev libvorbis-dev alsa-lib-dev xorg-libXft-dev xorg-libXinerama-dev \
    1.24  libsndfile-dev libsamplerate-dev Qt4-dev qt4-phonon qmake cmake freetype-dev"
    1.25  
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 +compile_rules() {
    1.30  	sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
    1.31 -	cmake . -DCMAKE_INSTALL_PREFIX=/usr
    1.32 -	make && make DESTDIR=$DESTDIR install
    1.33 +
    1.34 +	cmake \
    1.35 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.36 +		. &&
    1.37 +	make &&
    1.38 +	make DESTDIR=$install install
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 -	mkdir -p $fs/usr/share
    1.45 -
    1.46 -	cp -a $install/usr/bin $fs/usr
    1.47 -	cp -a $install/usr/lib $fs/usr
    1.48 -	cp -a $install/usr/share/lmms $fs/usr/share
    1.49 -	rm -rf $fs/usr/share/lmms/locale
    1.50 +genpkg_rules() {
    1.51 +	copy @std
    1.52 +	DEPENDS="libsdl glib fluidsynth libpng16 libvorbis fftw xorg-libXft \
    1.53 +	xorg-libXinerama libsamplerate libQtGui libQtXml"
    1.54  }