wok-6.x annotate qutim/receipt @ rev 20573

Up xsshfs (20181112)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 13:51:58 2018 +0100 (2018-12-13)
parents 23c3aed67cd9
children 1df6fa555414
rev   line source
devl547@13897 1 # SliTaz package receipt.
devl547@13897 2
devl547@13897 3 PACKAGE="qutim"
devl547@13897 4 VERSION="0.3.1"
devl547@13897 5 CATEGORY="network"
devl547@13897 6 SHORT_DESC="Multiprotocol IM, written in qt4"
devl547@13897 7 MAINTAINER="devl547@gmail.com"
pascal@15601 8 LICENSE="GPL LGPL CC-BY"
devl547@13897 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
devl547@13897 10 WEB_SITE="http://qutim.org"
devl547@13897 11 WGET_URL="$WEB_SITE/dwnl/40/$TARBALL"
devl547@13897 12
devl547@13901 13 DEPENDS="qt4 qca qt4-phonon xorg-libXss libjreen Qt4-qca-ossl"
monghitri@13992 14 BUILD_DEPENDS="Qt4-dev qmake cmake qca-dev xorg-libXss-dev dbus-dev libjreen-dev mesa-dev"
devl547@13897 15
devl547@13897 16 # Rules to configure and make the package.
devl547@13897 17 compile_rules()
devl547@13897 18 {
pascal@16609 19 sed -i -e 's/ moc_options /&moc_target /' \
pascal@16609 20 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \
pascal@16609 21 core/cmake/QutIMMacros.cmake
devl547@13897 22 mkdir ../qutim-build && cd ../qutim-build
devl547@13900 23 cmake ../$PACKAGE-$VERSION -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release \
devl547@13900 24 -DQUTIM_ENABLE_ALL_PLUGINS=on &&
devl547@13897 25 make $MAKEOPTS &&
devl547@13897 26 make DESTDIR=$DESTDIR install
devl547@13897 27 }
devl547@13897 28
devl547@13897 29 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@13897 30 genpkg_rules()
devl547@13897 31 {
devl547@13897 32 mkdir -p $fs/usr/
devl547@13897 33 cp -a $install/usr/bin $fs/usr
devl547@13900 34 cp -a $install/usr/lib $fs/usr
devl547@13897 35 cp -a $install/usr/share $fs/usr
devl547@13897 36 }