wok-next view qutim/receipt @ rev 21208
asterisk: added build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 10:21:51 2019 +0100 (2019-12-02) |
parents | d5aab818505e |
children |
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 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 libxscrnsaver libjreen qca-ossl"
39 }