wok-6.x annotate qxmpp/receipt @ rev 17814

Add xdg-user-dirs
author Yuri Pourre <yuripourre@gmail.com>
date Sat Mar 21 12:32:51 2015 -0300 (2015-03-21)
parents 55ae2a832163
children 5ea0ce1cecc0
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
al@16321 17 # Rules to configure and make the package.
al@16321 18 compile_rules()
al@16321 19 {
pascal@17771 20 sed -i 's/ltheoraenc/& -logg/' src/src.pro
al@16321 21 qmake PREFIX=/usr QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1 &&
al@16321 22 make &&
al@16321 23 mkdir -p $src/doc/html &&
al@16321 24 make INSTALL_ROOT=$install install
al@16321 25 }
al@16321 26
al@16321 27 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16321 28 genpkg_rules()
al@16321 29 {
al@16321 30 mkdir -p $fs/usr/lib
al@16321 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@16321 32 }