wok-current annotate kate/receipt @ rev 24806

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