wok-next annotate gtk-screenshot/receipt @ rev 16060
ARM: add zile and joe text editors (nano got regex bug on ARM)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 12 00:54:36 2014 +0100 (2014-03-12) |
parents | 3e624caa6f01 |
children | 27bae9732b8d |
rev | line source |
---|---|
al@14427 | 1 # SliTaz package receipt. |
al@14427 | 2 |
al@14427 | 3 PACKAGE="gtk-screenshot" |
al@14427 | 4 VERSION="0.1.0-1" |
al@14427 | 5 CATEGORY="x-window" |
al@14427 | 6 SHORT_DESC="A simple GTK+ tool to take screen capture in interactive mode or in shell" |
al@14427 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
al@14427 | 9 WEB_SITE="http://sourceforge.net/projects/gtk-screenshot/" |
al@14427 | 10 TARBALL="${PACKAGE}_$VERSION.tar.gz" |
al@14427 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@14427 | 12 TAGS="gtk2 screenshot" |
al@14427 | 13 |
al@14427 | 14 DEPENDS="gtk+" |
al@14427 | 15 BUILD_DEPENDS="gtk+-dev libxml2-dev automake autoconf xorg-libXext-dev" |
al@14427 | 16 |
al@14427 | 17 # Rules to configure and make the package. |
al@14427 | 18 compile_rules() |
al@14427 | 19 { |
al@14427 | 20 cp $stuff/ru.po $src/po |
al@14427 | 21 autoreconf |
al@14427 | 22 sed -i 's|ALL_LINGUAS="fr"|ALL_LINGUAS="fr ru"|' $src/configure |
al@14427 | 23 ./configure $CONFIGURE_ARGS && make && make install |
al@14427 | 24 sed -i 's|int|in|' $install/usr/bin/screenshot # typo |
al@14427 | 25 } |
al@14427 | 26 |
al@14427 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14427 | 28 genpkg_rules() |
al@14427 | 29 { |
al@14427 | 30 cp -a $install/* $fs |
al@14427 | 31 rm -rf $fs/usr/share/man |
al@14427 | 32 } |