wok-next view gtk-screenshot/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents a3c581bf52b8
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
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 \
7 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 BUILD_DEPENDS="gtk2-dev libxml2-dev automake autoconf xorg-libXext-dev intltool"
17 compile_rules() {
18 cp $stuff/ru.po $src/po
19 autoreconf
20 sed -i 's|ALL_LINGUAS="fr"|ALL_LINGUAS="fr ru"|' $src/configure
22 ./configure $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install || return 1
27 sed -i 's|int|in|' $install/usr/bin/screenshot # typo
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="gtk2"
33 TAGS="gtk2 screenshot"
34 }