wok-current view gtk-screenshot/receipt @ rev 25293

updated rust and rust-cargo (1.47.0 -> 1.62.0)
author Hans-G?nter Theisgen
date Tue Jul 19 11:14:38 2022 +0100 (2022-07-19)
parents a88f87d4098b
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-screenshot"
4 VERSION="0.2.0"
5 CATEGORY="x-window"
6 TAGS="gtk2 screenshot"
7 SHORT_DESC="A simple GTK+ tool to take screen capture in interactive mode or in shell."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://sourceforge.net/projects/gtk-screenshot/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="gtk+"
16 BUILD_DEPENDS="autoconf automake gtk+-dev libxml2-dev xorg-libXext-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/gtk-screenshot/files/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/gtk-screenshot-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cp $stuff/ru.po $src/po
30 autoreconf
31 sed -i 's|ALL_LINGUAS="fr"|ALL_LINGUAS="fr ru"|' \
32 $src/configure
34 ./configure $CONFIGURE_ARGS &&
35 make &&
36 make install
38 sed -i 's|int|in|' $install/usr/bin/screenshot # typo
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 rm -rf $fs/usr/share/man
46 }