wok-next diff phonon/receipt @ rev 20975

Close the chain: python and python3 both have upgradeable setuptools and pip
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Sep 23 04:37:56 2018 +0300 (2018-09-23)
parents 9e6ab147f6a3
children d5aab818505e
line diff
     1.1 --- a/phonon/receipt	Sun Jun 28 14:56:44 2015 +0300
     1.2 +++ b/phonon/receipt	Sun Sep 23 04:37:56 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="phonon"
     1.8  VERSION="4.7.2"
     1.9 @@ -6,16 +6,16 @@
    1.10  SHORT_DESC="kde libphonon"
    1.11  MAINTAINER="psychomaniak@xakep.ru"
    1.12  LICENSE="LGPL2.1"
    1.13 +WEB_SITE="http://phonon.kde.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 -WEB_SITE="http://phonon.kde.org/"
    1.17  WGET_URL="http://download.kde.org/stable/$PACKAGE/$VERSION/$TARBALL"
    1.18  
    1.19 -DEPENDS="libQtCore libQtDBus libQtGui libQtXml"
    1.20  BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev"
    1.21 +SPLIT="phonon-dev"
    1.22  
    1.23 -compile_rules()
    1.24 -{
    1.25 -		mkdir build; cd build
    1.26 +compile_rules() {
    1.27 +	mkdir build; cd build
    1.28  	cmake \
    1.29  		-DCMAKE_INSTALL_PREFIX=/usr \
    1.30  		-DCMAKE_BUILD_TYPE=Release \
    1.31 @@ -28,8 +28,16 @@
    1.32  	make DESTDIR=$DESTDIR install
    1.33  }
    1.34  
    1.35 -genpkg_rules()
    1.36 -{
    1.37 -	mkdir -p $fs/usr/lib
    1.38 -	cp -a $install/usr/lib/lib* $fs/usr/lib
    1.39 +genpkg_rules() {
    1.40 +	case $PACKAGE in
    1.41 +		phonon)
    1.42 +			mkdir -p $fs/usr/lib
    1.43 +			cp -a $install/usr/lib/lib* $fs/usr/lib
    1.44 +			DEPENDS="libQtCore libQtDBus libQtGui libQtXml"
    1.45 +			;;
    1.46 +		*-dev)
    1.47 +			cp -a $install/* $fs
    1.48 +			rm -f $fs/usr/lib/lib*
    1.49 +			;;
    1.50 +	esac
    1.51  }