wok diff gtkhash/receipt @ rev 23839

Up tor (0.4.3.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 03 18:59:32 2020 +0000 (2020-06-03)
parents
children 5ea0ce1cecc0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gtkhash/receipt	Wed Jun 03 18:59:32 2020 +0000
     1.3 @@ -0,0 +1,48 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gtkhash"
     1.7 +VERSION="1.2"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="GTK+ utility for computing message digests or checksums."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPLv2+"
    1.12 +WEB_SITE="https://github.com/tristanheaven/gtkhash"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
    1.16 +
    1.17 +DEPENDS="gtk+3 libgcrypt"
    1.18 +BUILD_DEPENDS="autoconf automake gtk+3-dev libgcrypt-dev libtool"
    1.19 +
    1.20 +HOST_ARCH="i486 arm"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	./configure			\
    1.26 +		--disable-blake2	\
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make &&
    1.29 +	make install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	cook_copy_icons
    1.36 +
    1.37 +	mkdir -p $fs/usr/share/locale
    1.38 +
    1.39 +	cp -a $install/usr/bin			$fs/usr
    1.40 +	cp -a $install/usr/share/applications	$fs/usr/share
    1.41 +
    1.42 +	# Set list of wanted locales in LOCALE_PACK
    1.43 +	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    1.44 +
    1.45 +	# Copy message files in wanted languages, if available
    1.46 +	for locale in $LOCALE_PACK
    1.47 +	  do
    1.48 +		[ -d $install/usr/share/locale/$locale ] || continue
    1.49 +		cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
    1.50 +	  done
    1.51 +}