wok-next view qxmpp/receipt @ rev 21543

updated ccid (1.4.30 -> 1.4.32)
author Hans-G?nter Theisgen
date Sun Jun 21 17:20:25 2020 +0100 (2020-06-21)
parents 8940878905f3
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qxmpp"
4 VERSION="0.8.0"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform C++ XMPP client and server library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/qxmpp-project/qxmpp/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/qxmpp-project/qxmpp/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="qmake Qt4-dev speex-dev libtheora-dev libogg-dev libvpx-dev \
15 doxygen wget"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 sed -i 's/ltheoraenc/& -logg/' src/src.pro
20 qmake \
21 PREFIX=/usr \
22 QXMPP_USE_SPEEX=1 \
23 QXMPP_USE_THEORA=1 \
24 QXMPP_USE_VPX=1 \
25 &&
26 make &&
27 mkdir -p $src/doc/html &&
28 make INSTALL_ROOT=$install install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 qxmpp)
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 DEPENDS="libQtNetwork libQtXml libtheora-enc libvpx speex"
37 ;;
38 *-dev)
39 cp -a $install/* $fs
40 rm -f $fs/usr/lib/*.so*
41 ;;
42 esac
43 }