wok-current view qxmpp/receipt @ rev 19368

Up cookutils (824), tazpanel (598)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 06 09:12:16 2016 +0200 (2016-08-06)
parents 55ae2a832163
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/qxmpp-project/qxmpp/archive/v$VERSION.tar.gz"
13 DEPENDS="libQtNetwork libQtXml libtheora-enc libvpx speex"
14 BUILD_DEPENDS="qmake Qt4-dev speex-dev libtheora-dev libogg-dev libvpx-dev \
15 doxygen wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/ltheoraenc/& -logg/' src/src.pro
21 qmake PREFIX=/usr QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1 &&
22 make &&
23 mkdir -p $src/doc/html &&
24 make INSTALL_ROOT=$install install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }