wok-next view qxmpp/receipt @ rev 16380

ARM: try to fix glib cross compile
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 15 03:48:06 2014 +0200 (2014-04-15)
parents 3f949ff702d6
children 1156909c6472
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 qmake PREFIX=/usr QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1 &&
21 make &&
22 mkdir -p $src/doc/html &&
23 make INSTALL_ROOT=$install install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }