wok-next diff qxmpp/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | 1156909c6472 |
children | d5aab818505e |
line diff
1.1 --- a/qxmpp/receipt Sat Mar 14 11:45:23 2015 +0100 1.2 +++ b/qxmpp/receipt Wed Jun 06 20:44:57 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="qxmpp" 1.8 VERSION="0.8.0" 1.9 @@ -7,26 +7,37 @@ 1.10 MAINTAINER="al.bobylev@gmail.com" 1.11 LICENSE="LGPL2.1" 1.12 WEB_SITE="https://github.com/qxmpp-project/qxmpp/" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WGET_URL="https://github.com/qxmpp-project/qxmpp/archive/v$VERSION.tar.gz" 1.16 1.17 -DEPENDS="libQtNetwork libQtXml libtheora-enc libvpx speex" 1.18 BUILD_DEPENDS="qmake Qt4-dev speex-dev libtheora-dev libogg-dev libvpx-dev \ 1.19 doxygen wget" 1.20 +SPLIT="qxmpp-dev" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 +compile_rules() { 1.26 sed -i 's/ltheoraenc/& -logg/' src/src.pro 1.27 - qmake PREFIX=/usr QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1 && 1.28 + qmake \ 1.29 + PREFIX=/usr \ 1.30 + QXMPP_USE_SPEEX=1 \ 1.31 + QXMPP_USE_THEORA=1 \ 1.32 + QXMPP_USE_VPX=1 \ 1.33 + && 1.34 make && 1.35 mkdir -p $src/doc/html && 1.36 make INSTALL_ROOT=$install install 1.37 } 1.38 1.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 -genpkg_rules() 1.41 -{ 1.42 - mkdir -p $fs/usr/lib 1.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 +genpkg_rules() { 1.45 + case $PACKAGE in 1.46 + qxmpp) 1.47 + mkdir -p $fs/usr/lib 1.48 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.49 + DEPENDS="libQtNetwork libQtXml libtheora-enc libvpx speex" 1.50 + ;; 1.51 + *-dev) 1.52 + cp -a $install/* $fs 1.53 + rm -f $fs/usr/lib/*.so* 1.54 + ;; 1.55 + esac 1.56 }