wok-next view libjreen/receipt @ rev 20554
Fix build brasero, clutter-gtk, freetype-infinality, gnome-commander
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 16:49:09 2018 +0300 (2018-04-06) |
parents | 6ee7d8f3bc37 |
children | d5aab818505e |
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="libjreen libjreen-dev"
17 compile_rules() {
18 sed -i -e 's/ moc_options /&moc_target /' \
19 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \
20 cmake/jreenMacros.cmake
21 mkdir build
22 cd build
23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
24 make DESTDIR=$DESTDIR install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libjreen)
30 copy @std
31 DEPENDS="libQtNetwork libQtCore qca libidn"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }