wok-next annotate libjreen/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d43bf7aae921 |
children |
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" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@14714 | 16 |
al@20513 | 17 compile_rules() { |
al@21020 | 18 sed \ |
al@21020 | 19 -e 's/ moc_options /&moc_target /' \ |
pascal@16613 | 20 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \ |
al@21020 | 21 -i cmake/jreenMacros.cmake |
al@20513 | 22 mkdir build |
al@20513 | 23 cd build |
al@21020 | 24 cmake \ |
al@21020 | 25 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@21020 | 26 .. && |
al@21020 | 27 make DESTDIR=$install install |
devl547@13900 | 28 } |
devl547@13900 | 29 |
al@20513 | 30 genpkg_rules() { |
pascal@20204 | 31 case $PACKAGE in |
al@20513 | 32 libjreen) |
al@20513 | 33 copy @std |
al@20513 | 34 DEPENDS="libQtNetwork libQtCore qca libidn" |
al@20513 | 35 ;; |
al@20513 | 36 *-dev) |
al@20513 | 37 copy @dev |
al@20513 | 38 ;; |
pascal@20204 | 39 esac |
devl547@13900 | 40 } |