wok-6.x view florence/receipt @ rev 24727

cookutils: add repo-cooking (used by tank)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 15 10:59:31 2022 +0000 (2022-03-15)
parents 4c8bedebfea2
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="florence"
4 VERSION="0.6.3"
5 CATEGORY="utilities"
6 SHORT_DESC="On-screen virtual keyboard."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL"
9 WEB_SITE="https://sourceforge.net/projects/florence/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="at-spi2 at-spi2-atk GConf gstreamer-1.0 gtk+3 librsvg"
15 BUILD_DEPENDS="at-spi2 at-spi2-atk file GConf-dev gstreamer-1.0-dev
16 gnome-doc-utils gnome-doc-utils-dev gtk+3-dev libnotify-dev
17 librsvg-dev util-linux-uuid-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects//florence/files/florence/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/florence/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --without-panelapplet \
33 --without-docs \
34 --without-notification \
35 --disable-schemas-compile
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs
44 sed 's|Categories.*$|&Utility;|' -i \
45 $fs/usr/share/applications/florence.desktop
46 }