wok-current view kate/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
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 }