wok-current view qimageblitz/receipt @ rev 24972
Up lzsa (1.3.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 01 08:42:44 2022 +0000 (2022-05-01) |
parents | 241fb98cab1c |
children | 73f36875e5a7 |
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="https://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 }