wok view gtk-screenshot/receipt @ rev 22734

updated discount and discount-dev (2.2.5 -> 2.2.6)
author Hans-G?nter Theisgen
date Thu Jan 23 17:26:34 2020 +0100 (2020-01-23)
parents 380ffe05937a
children a88f87d4098b
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-screenshot"
4 VERSION="0.1.0-1"
5 CATEGORY="x-window"
6 SHORT_DESC="A simple GTK+ tool to take screen capture in interactive mode or in shell"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/gtk-screenshot/"
10 TARBALL="${PACKAGE}_$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="gtk2 screenshot"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev libxml2-dev automake autoconf xorg-libXext-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cp $stuff/ru.po $src/po
21 autoreconf
22 sed -i 's|ALL_LINGUAS="fr"|ALL_LINGUAS="fr ru"|' $src/configure
23 ./configure $CONFIGURE_ARGS && make && make install
24 sed -i 's|int|in|' $install/usr/bin/screenshot # typo
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 rm -rf $fs/usr/share/man
32 }