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

emerald-themes: correct desc
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Jun 17 16:00:57 2016 +0300 (2016-06-17)
parents 3e624caa6f01
children 27bae9732b8d
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="http://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 }