wok annotate qimageblitz/receipt @ rev 25161

created recipe for py3k-pillow
author Hans-G?nter Theisgen
date Fri Jul 01 10:04:47 2022 +0100 (2022-07-01)
parents 241fb98cab1c
children 73f36875e5a7
rev   line source
psychomaniak@20136 1 # SliTaz package receipt.
psychomaniak@20136 2
psychomaniak@20136 3 PACKAGE="qimageblitz"
psychomaniak@20136 4 VERSION="0.0.6"
psychomaniak@20136 5 CATEGORY="x-window"
psychomaniak@20136 6 SHORT_DESC="QImageblitz is a graphical effect and filter library for KDE."
psychomaniak@20136 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@20136 8 LICENSE="GPL2"
psychomaniak@20136 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
psychomaniak@20136 10 WEB_SITE="http://www.kde.org/"
pascal@24972 11 WGET_URL="https://download.kde.org/stable/$PACKAGE/$TARBALL"
psychomaniak@20136 12
psychomaniak@20136 13 DEPENDS="libQtCore "
psychomaniak@20136 14 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev libxslt-dev giflib-dev libpng-dev \
psychomaniak@20136 15 jpeg-dev shared-mime-info-dev phonon phonon-dev docbook-xml docbook-xsl \
psychomaniak@20136 16 dbus-dev polkit-qt-dev libdbusmenu-qt-dev libQtDeclarative alsa-lib-dev \
psychomaniak@20136 17 exiv2-dev attica-dev"
psychomaniak@20136 18
pascal@24453 19 # What is the latest version available today?
pascal@24453 20 current_version()
pascal@24453 21 {
pascal@24453 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24453 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24453 24 }
pascal@24453 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 -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev .. &&
psychomaniak@20136 31 make && make install
psychomaniak@20136 32 }
psychomaniak@20136 33
psychomaniak@20136 34 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@20136 35 genpkg_rules()
psychomaniak@20136 36 {
psychomaniak@20136 37 cp -a $install/* $fs
psychomaniak@20136 38 }