wok-next view libjreen/receipt @ rev 17568
Up: cairomm 1.11.2
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 07 17:33:19 2015 +0000 (2015-02-07) |
parents | 94d07ea6d8cb |
children | 6ee7d8f3bc37 |
line source
1 # SliTaz package receipt.
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 DEPENDS="libQtNetwork libQtCore qca libidn"
14 BUILD_DEPENDS="Qt4-dev qca-dev libidn-dev cmake qmake"
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 mkdir -p $fs/usr/
31 cp -a $install/usr/lib $fs/usr
32 }