wok view qutim/receipt @ rev 17134

Add libsdl2-image and devel.
author necrophcodr <tcg.thegamer@gmail.com>
date Wed Sep 10 10:52:10 2014 +0200 (2014-09-10)
parents 23c3aed67cd9
children 1df6fa555414
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-libXss libjreen Qt4-qca-ossl"
14 BUILD_DEPENDS="Qt4-dev qmake cmake qca-dev xorg-libXss-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 }