wok-current view qimageblitz/receipt @ rev 24958

updated nbd (3.20 -> 3.24)
author Hans-G?nter Theisgen
date Sat Apr 23 16:50:32 2022 +0100 (2022-04-23)
parents 9634bfe73272
children bd7510903310
line source
1 # SliTaz package receipt.
3 PACKAGE="qimageblitz"
4 VERSION="0.0.6"
5 CATEGORY="x-window"
6 SHORT_DESC="QImageblitz is a graphical effect and filter library for KDE."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.kde.org/"
11 WGET_URL="http://download.kde.org/stable/$PACKAGE/$TARBALL"
13 DEPENDS="libQtCore "
14 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev libxslt-dev giflib-dev libpng-dev \
15 jpeg-dev shared-mime-info-dev phonon phonon-dev docbook-xml docbook-xsl \
16 dbus-dev polkit-qt-dev libdbusmenu-qt-dev libQtDeclarative alsa-lib-dev \
17 exiv2-dev attica-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir -p build && cd build
30 cmake -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev .. &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }