wok view kate/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (22 months ago)
parents 544e47246b33
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="kate"
4 VERSION="4.14.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Kde text editor"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.kde.org/"
11 WGET_URL="https://download.kde.org/stable/$VERSION/src/$TARBALL"
13 DEPENDS="kdelibs qt4 oxygen-icons"
14 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev kdelibs kdelibs-dev \
15 phonon phonon-dev docbook-xml docbook-xsl attica attica-dev strigi \
16 strigi-dev libdbusmenu-qt-dev dbus-dev polkit-qt-dev libQtDeclarative"
17 # kactivities shared-mime-info-dev
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://apps.kde.org/kate/ 2>/dev/null | \
23 sed '/release mt/!d;s|.*">||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir -p build && cd build
30 cmake \
31 -DCMAKE_BUILD_TYPE=Release \
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -Wno-dev .. &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 rm -rf $fs/usr/include
42 }