wok view qutim/receipt @ rev 25625

Add opendkim (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 17:14:09 2023 +0000 (13 months ago)
parents bff339676249
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.gz"
10 WEB_SITE="https://web.archive.org/web/20230329042857/http://qutim.org/"
11 WGET_URL="https://github.com/euroelessar/qutim/archive/refs/tags/v$VERSION.tar.gz"
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 libpurple-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archival_release/d;/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i -e 's/ moc_options /&moc_target /' \
27 -e 's/\(QT4_CREATE_MOC_COMMAND.*\))/\1 "${moc_target}")/' \
28 core/cmake/QutIMMacros.cmake
29 mkdir ../qutim-build && cd ../qutim-build
30 cmake ../$PACKAGE-$VERSION -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release \
31 -DQUTIM_ENABLE_ALL_PLUGINS=on &&
32 make $MAKEOPTS &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 cp -a $install/usr/share $fs/usr
43 }