wok-current view gtk-screenshot/receipt @ rev 21167
ufraw: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 01 10:12:50 2019 +0200 (2019-04-01) |
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 }