SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "kate"

# SliTaz package receipt.

PACKAGE="kate"
VERSION="4.14.3"
CATEGORY="x-window"
SHORT_DESC="Kde text editor"
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="https://kde.org/"
WGET_URL="https://download.kde.org/stable/$VERSION/src/$TARBALL"

DEPENDS="kdelibs qt4 oxygen-icons"
BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev kdelibs kdelibs-dev \
phonon phonon-dev docbook-xml docbook-xsl attica attica-dev strigi \
strigi-dev libdbusmenu-qt-dev dbus-dev polkit-qt-dev libQtDeclarative"
# kactivities shared-mime-info-dev

# What is the latest version available today?
current_version()
{
    wget -O - https://apps.kde.org/kate/ 2>/dev/null | \
    sed '/release mt/!d;s|.*">||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    mkdir -p build && cd build
    cmake \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -Wno-dev .. &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
    rm -rf $fs/usr/include
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)