wok-next view 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 |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://qutim.org/jreen"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://qutim.org/dwnl/44/$TARBALL"
14 BUILD_DEPENDS="Qt4-dev qca-dev libidn-dev cmake qmake zlib-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 sed \
19 -e 's/ moc_options /&moc_target /' \
20 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \
21 -i cmake/jreenMacros.cmake
22 mkdir build
23 cd build
24 cmake \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 .. &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libjreen)
33 copy @std
34 DEPENDS="libQtNetwork libQtCore qca libidn"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }