wok-next annotate libjreen/receipt @ rev 20582

Up libjson-c (0.13.1-20180305)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 10:00:23 2018 +0300 (2018-04-14)
parents 6ee7d8f3bc37
children d5aab818505e
rev   line source
pascal@20204 1 # SliTaz package receipt v2.
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"
al@20513 9 WEB_SITE="http://qutim.org/jreen"
al@20513 10
devl547@13900 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13903 12 WGET_URL="http://qutim.org/dwnl/44/$TARBALL"
devl547@13900 13
pascal@20204 14 BUILD_DEPENDS="Qt4-dev qca-dev libidn-dev cmake qmake zlib-dev"
pascal@20204 15 SPLIT="libjreen libjreen-dev"
pascal@14714 16
al@20513 17 compile_rules() {
pascal@16613 18 sed -i -e 's/ moc_options /&moc_target /' \
pascal@16613 19 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \
pascal@16613 20 cmake/jreenMacros.cmake
al@20513 21 mkdir build
al@20513 22 cd build
devl547@13900 23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
devl547@13900 24 make DESTDIR=$DESTDIR install
devl547@13900 25 }
devl547@13900 26
al@20513 27 genpkg_rules() {
pascal@20204 28 case $PACKAGE in
al@20513 29 libjreen)
al@20513 30 copy @std
al@20513 31 DEPENDS="libQtNetwork libQtCore qca libidn"
al@20513 32 ;;
al@20513 33 *-dev)
al@20513 34 copy @dev
al@20513 35 ;;
pascal@20204 36 esac
devl547@13900 37 }