wok-next annotate gtk-screenshot/receipt @ rev 21270

up openssl 1.1.1a to 1.1.1d
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Dec 07 12:17:15 2019 +0000 (2019-12-07)
parents f48456621a9d
children
rev   line source
al@20574 1 # SliTaz package receipt v2.
al@14427 2
al@14427 3 PACKAGE="gtk-screenshot"
al@14427 4 VERSION="0.1.0-1"
al@14427 5 CATEGORY="x-window"
al@20574 6 SHORT_DESC="A simple GTK+ tool to take screen capture in interactive mode or \
al@20574 7 in shell"
al@14427 8 MAINTAINER="al.bobylev@gmail.com"
pascal@15000 9 LICENSE="GPL2"
al@20906 10 WEB_SITE="https://sourceforge.net/projects/gtk-screenshot/"
al@20574 11
al@14427 12 TARBALL="${PACKAGE}_$VERSION.tar.gz"
al@14427 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@14427 14
al@21078 15 BUILD_DEPENDS="gtk2-dev libxml2-dev automake autoconf libxext-dev intltool"
al@14427 16
al@20574 17 compile_rules() {
al@14427 18 cp $stuff/ru.po $src/po
al@14427 19 autoreconf
al@14427 20 sed -i 's|ALL_LINGUAS="fr"|ALL_LINGUAS="fr ru"|' $src/configure
al@20574 21
al@20574 22 ./configure $CONFIGURE_ARGS &&
al@20574 23 fix libtool &&
al@20574 24 make &&
al@20574 25 make install || return 1
al@20574 26
al@14427 27 sed -i 's|int|in|' $install/usr/bin/screenshot # typo
al@14427 28 }
al@14427 29
al@20574 30 genpkg_rules() {
al@20574 31 copy @std
al@21017 32 DEPENDS="gtk2"
al@20574 33 TAGS="gtk2 screenshot"
al@14427 34 }