wok-next view libjreen/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | be7b188ef115 |
children | d43bf7aae921 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://qutim.org/jreen"
11 WGET_URL="http://qutim.org/dwnl/44/$TARBALL"
13 BUILD_DEPENDS="Qt4-dev qca-dev libidn-dev cmake qmake zlib-dev"
14 SPLIT="libjreen libjreen-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i -e 's/ moc_options /&moc_target /' \
20 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \
21 cmake/jreenMacros.cmake
22 mkdir build && cd build
23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 libjreen)
32 DEPENDS="libQtNetwork libQtCore qca libidn"
33 mkdir -p $fs/usr/
34 cp -a $install/usr/lib $fs/usr
35 ;;
36 libjreen-dev)
37 CAT="development|Qt jabber library, written in C++"
38 DEPENDS="libjreen pkg-config"
39 mkdir -p $fs/usr/share $fs/usr/lib
40 cp -a $install/usr/include $fs/usr
41 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
42 ;;
43 esac
44 }