wok-6.x view qxmpp/receipt @ rev 25002

updated nrg2iso (0.4 -> 0.4.1)
author Hans-G?nter Theisgen
date Mon May 16 14:45:30 2022 +0100 (2022-05-16)
parents 1156909c6472
children
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's/ltheoraenc/& -logg/' src/src.pro
27 qmake PREFIX=/usr QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1 &&
28 make &&
29 mkdir -p $src/doc/html &&
30 make INSTALL_ROOT=$install install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }