wok-next view qutim/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 | f48456621a9d |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qutim"
4 VERSION="0.3.1"
5 CATEGORY="network"
6 SHORT_DESC="Multiprotocol IM written in Qt4"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL LGPL CC-BY"
9 WEB_SITE="http://qutim.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}dwnl/40/$TARBALL"
14 BUILD_DEPENDS="Qt4-dev qmake cmake qca-dev xorg-libXScrnSaver-dev dbus-dev \
15 libjreen-dev mesa-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 core/cmake/QutIMMacros.cmake
22 mkdir ../qutim-build
23 cd ../qutim-build
24 cmake \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 -DCMAKE_BUILD_TYPE=release \
27 -DQUTIM_ENABLE_ALL_PLUGINS=on \
28 ../$PACKAGE-$VERSION &&
29 make $MAKEOPTS &&
30 make DESTDIR=$install install
31 }
33 genpkg_rules() {
34 mkdir -p $fs/usr/
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/share $fs/usr
38 DEPENDS="qt4 qca qt4-phonon xorg-libXScrnSaver libjreen qca-ossl"
39 }