wok-6.x view qutim/receipt @ rev 25007

updated nut (2.7.4 -> 2.8.0)
author Hans-G?nter Theisgen
date Mon May 16 16:55:37 2022 +0100 (2022-05-16)
parents 6977df3925cf
children
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 current_version()
17 {
18 wget -O - $WEB_SITE/download 2>/dev/null | \
19 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i -e 's/ moc_options /&moc_target /' \
26 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \
27 core/cmake/QutIMMacros.cmake
28 mkdir ../qutim-build && cd ../qutim-build
29 cmake ../$PACKAGE-$VERSION -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release \
30 -DQUTIM_ENABLE_ALL_PLUGINS=on &&
31 make $MAKEOPTS &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/usr/share $fs/usr
42 }