wok view gtk-screenshot/receipt @ rev 16469
Up and add to ARM: libgd fswebcam
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 22 03:43:21 2014 +0200 (2014-04-22) |
parents | 3e624caa6f01 |
children | 86790a278e70 |
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 }