wok view qxmpp/receipt @ rev 25614
Add libslirp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 03 11:59:41 2023 +0000 (15 months ago) |
parents | 5ea0ce1cecc0 |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's/ltheoraenc/& -logg/' src/src.pro
28 qmake PREFIX=/usr QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1 &&
29 make &&
30 mkdir -p $src/doc/html &&
31 make INSTALL_ROOT=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }