wok diff gtk-screenshot/receipt @ rev 14646

Xorg. xorg-libXft: up 2.3.1; xorg-libXi: back to 1.7.1 (mirror's latest).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 03 11:07:41 2013 +0000 (2013-06-03)
parents
children 380ffe05937a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gtk-screenshot/receipt	Mon Jun 03 11:07:41 2013 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gtk-screenshot"
     1.7 +VERSION="0.1.0-1"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="A simple GTK+ tool to take screen capture in interactive mode or in shell"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="http://sourceforge.net/projects/gtk-screenshot/"
    1.13 +TARBALL="${PACKAGE}_$VERSION.tar.gz"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +TAGS="gtk2 screenshot"
    1.16 +
    1.17 +DEPENDS="gtk+"
    1.18 +BUILD_DEPENDS="gtk+-dev libxml2-dev automake autoconf xorg-libXext-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cp $stuff/ru.po $src/po
    1.24 +	autoreconf
    1.25 +	sed -i 's|ALL_LINGUAS="fr"|ALL_LINGUAS="fr ru"|' $src/configure
    1.26 +	./configure $CONFIGURE_ARGS && make && make install
    1.27 +	sed -i 's|int|in|' $install/usr/bin/screenshot	# typo
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	cp -a $install/* $fs
    1.34 +	rm -rf $fs/usr/share/man
    1.35 +}