wok-next view qxmpp/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 1156909c6472 |
children | d5aab818505e |
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="qxmpp-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 }