wok-next annotate qxmpp/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 8940878905f3 |
children |
rev | line source |
---|---|
al@20462 | 1 # SliTaz package receipt v2. |
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/" |
al@20462 | 10 |
pascal@16322 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16322 | 12 WGET_URL="https://github.com/qxmpp-project/qxmpp/archive/v$VERSION.tar.gz" |
al@16321 | 13 |
al@16321 | 14 BUILD_DEPENDS="qmake Qt4-dev speex-dev libtheora-dev libogg-dev libvpx-dev \ |
al@16321 | 15 doxygen wget" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
al@16321 | 17 |
al@20462 | 18 compile_rules() { |
pascal@17771 | 19 sed -i 's/ltheoraenc/& -logg/' src/src.pro |
al@20462 | 20 qmake \ |
al@20462 | 21 PREFIX=/usr \ |
al@20462 | 22 QXMPP_USE_SPEEX=1 \ |
al@20462 | 23 QXMPP_USE_THEORA=1 \ |
al@20462 | 24 QXMPP_USE_VPX=1 \ |
al@20462 | 25 && |
al@16321 | 26 make && |
al@16321 | 27 mkdir -p $src/doc/html && |
al@16321 | 28 make INSTALL_ROOT=$install install |
al@16321 | 29 } |
al@16321 | 30 |
al@20462 | 31 genpkg_rules() { |
al@20462 | 32 case $PACKAGE in |
al@20462 | 33 qxmpp) |
al@20462 | 34 mkdir -p $fs/usr/lib |
al@20462 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@20462 | 36 DEPENDS="libQtNetwork libQtXml libtheora-enc libvpx speex" |
al@20462 | 37 ;; |
al@20462 | 38 *-dev) |
al@20462 | 39 cp -a $install/* $fs |
al@20462 | 40 rm -f $fs/usr/lib/*.so* |
al@20462 | 41 ;; |
al@20462 | 42 esac |
al@16321 | 43 } |