wok-6.x annotate gtk-screenshot/receipt @ rev 14853

x11vnc: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 18 10:50:13 2013 +0000 (2013-07-18)
parents
children 380ffe05937a
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"
al@14427 8 LICENSE="GPL3"
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 }