wok-current view gtk-screenshot/receipt @ rev 15341

n2nc: use autoconf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 29 11:40:18 2013 +0000 (2013-09-29)
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 }