wok view gtk-screenshot/receipt @ rev 24015

Up tazinst (112)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 25 10:56:54 2021 +0000 (2021-02-25)
parents 86790a278e70
children 932cd974e081
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cp $stuff/ru.po $src/po
22 autoreconf
23 sed -i 's|ALL_LINGUAS="fr"|ALL_LINGUAS="fr ru"|' \
24 $src/configure
26 ./configure $CONFIGURE_ARGS &&
27 make &&
28 make install
30 sed -i 's|int|in|' $install/usr/bin/screenshot # typo
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 rm -rf $fs/usr/share/man
38 }