wok-next view qutim/receipt @ rev 19924
py3k3: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 14 23:11:14 2017 +0200 (2017-10-14) |
parents | 6977df3925cf |
children | f48456621a9d |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://qutim.org"
11 WGET_URL="$WEB_SITE/dwnl/40/$TARBALL"
13 DEPENDS="qt4 qca qt4-phonon xorg-libXScrnSaver libjreen Qt4-qca-ossl"
14 BUILD_DEPENDS="Qt4-dev qmake cmake qca-dev xorg-libXScrnSaver-dev dbus-dev libjreen-dev mesa-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 core/cmake/QutIMMacros.cmake
22 mkdir ../qutim-build && cd ../qutim-build
23 cmake ../$PACKAGE-$VERSION -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release \
24 -DQUTIM_ENABLE_ALL_PLUGINS=on &&
25 make $MAKEOPTS &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/usr/share $fs/usr
36 }