wok-current annotate qxmpp/receipt @ rev 24642
updated hfsprescue (3.4 -> 3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 17:03:53 2022 +0100 (2022-03-09) |
parents | 1156909c6472 |
children |
rev | line source |
---|---|
al@16321 | 1 # SliTaz package receipt. |
al@16321 | 2 |
al@16321 | 3 PACKAGE="qxmpp" |
pascal@16322 | 4 VERSION="0.8.0" |
al@16321 | 5 CATEGORY="development" |
al@16321 | 6 SHORT_DESC="Cross-platform C++ XMPP client and server library" |
al@16321 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16321 | 8 LICENSE="LGPL2.1" |
al@16321 | 9 WEB_SITE="https://github.com/qxmpp-project/qxmpp/" |
pascal@16322 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16322 | 11 WGET_URL="https://github.com/qxmpp-project/qxmpp/archive/v$VERSION.tar.gz" |
al@16321 | 12 |
al@16321 | 13 DEPENDS="libQtNetwork libQtXml libtheora-enc libvpx speex" |
al@16321 | 14 BUILD_DEPENDS="qmake Qt4-dev speex-dev libtheora-dev libogg-dev libvpx-dev \ |
al@16321 | 15 doxygen wget" |
al@16321 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
al@16321 | 23 # Rules to configure and make the package. |
al@16321 | 24 compile_rules() |
al@16321 | 25 { |
pascal@17771 | 26 sed -i 's/ltheoraenc/& -logg/' src/src.pro |
al@16321 | 27 qmake PREFIX=/usr QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1 && |
al@16321 | 28 make && |
al@16321 | 29 mkdir -p $src/doc/html && |
al@16321 | 30 make INSTALL_ROOT=$install install |
al@16321 | 31 } |
al@16321 | 32 |
al@16321 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16321 | 34 genpkg_rules() |
al@16321 | 35 { |
al@16321 | 36 mkdir -p $fs/usr/lib |
al@16321 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16321 | 38 } |