wok annotate 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 (2018-03-13)
parents 94d07ea6d8cb
children 573f08ef81b5
rev   line source
devl547@13900 1 # SliTaz package receipt.
devl547@13900 2
devl547@13900 3 PACKAGE="libjreen"
devl547@13900 4 VERSION="1.1.1"
devl547@13900 5 CATEGORY="misc"
devl547@13900 6 SHORT_DESC="Qt jabber library, written in C++"
devl547@13900 7 MAINTAINER="devl547@gmail.com"
pascal@14714 8 LICENSE="GPL2"
devl547@13900 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
devl547@13900 10 WEB_SITE="http://qutim.org/jreen"
pascal@13903 11 WGET_URL="http://qutim.org/dwnl/44/$TARBALL"
devl547@13900 12
psychomaniak@17180 13 DEPENDS="libQtNetwork libQtCore qca libidn"
pascal@14714 14 BUILD_DEPENDS="Qt4-dev qca-dev libidn-dev cmake qmake"
pascal@14714 15
devl547@13900 16 # Rules to configure and make the package.
devl547@13900 17 compile_rules()
devl547@13900 18 {
pascal@16613 19 sed -i -e 's/ moc_options /&moc_target /' \
pascal@16613 20 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \
pascal@16613 21 cmake/jreenMacros.cmake
devl547@13900 22 mkdir build && cd build
devl547@13900 23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
devl547@13900 24 make DESTDIR=$DESTDIR install
devl547@13900 25 }
devl547@13900 26
devl547@13900 27 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@13900 28 genpkg_rules()
devl547@13900 29 {
devl547@13900 30 mkdir -p $fs/usr/
pascal@13903 31 cp -a $install/usr/lib $fs/usr
devl547@13900 32 }