wok view libjreen/receipt @ rev 20255

firefox, thunderbird: try to force i686
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 21:40:37 2018 +0100 (23 months ago)
parents 94d07ea6d8cb
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libjreen"
4 VERSION="1.1.1"
5 CATEGORY="misc"
6 SHORT_DESC="Qt jabber library, written in C++"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://qutim.org/jreen"
11 WGET_URL="http://qutim.org/dwnl/44/$TARBALL"
13 DEPENDS="libQtNetwork libQtCore qca libidn"
14 BUILD_DEPENDS="Qt4-dev qca-dev libidn-dev cmake qmake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i -e 's/ moc_options /&moc_target /' \
20 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \
21 cmake/jreenMacros.cmake
22 mkdir build && cd build
23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/
31 cp -a $install/usr/lib $fs/usr
32 }