wok-6.x rev 22819
created recipe for gtkhash-1.2
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 05 14:04:53 2020 +0100 (2020-02-05) |
parents | b8ade74f0d9c |
children | d231f44f9f0a |
files | gtkhash/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gtkhash/receipt Wed Feb 05 14:04:53 2020 +0100 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 +}