wok annotate gtkhash/receipt @ rev 23485
updated python-formalchemy (1.4.2 -> 1.5.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 05 17:07:27 2020 +0100 (2020-04-05) |
parents | |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
Hans-G?nter@22819 | 1 # SliTaz package receipt. |
Hans-G?nter@22819 | 2 |
Hans-G?nter@22819 | 3 PACKAGE="gtkhash" |
Hans-G?nter@22819 | 4 VERSION="1.2" |
Hans-G?nter@22819 | 5 CATEGORY="system-tools" |
Hans-G?nter@22819 | 6 SHORT_DESC="GTK+ utility for computing message digests or checksums." |
Hans-G?nter@22819 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@22819 | 8 LICENSE="GPLv2+" |
Hans-G?nter@22819 | 9 WEB_SITE="https://github.com/tristanheaven/gtkhash" |
Hans-G?nter@22819 | 10 |
Hans-G?nter@22819 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22819 | 12 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" |
Hans-G?nter@22819 | 13 |
Hans-G?nter@22819 | 14 DEPENDS="gtk+3 libgcrypt" |
Hans-G?nter@22819 | 15 BUILD_DEPENDS="autoconf automake gtk+3-dev libgcrypt-dev libtool" |
Hans-G?nter@22819 | 16 |
Hans-G?nter@22819 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@22819 | 18 |
Hans-G?nter@22819 | 19 # Rules to configure and make the package. |
Hans-G?nter@22819 | 20 compile_rules() |
Hans-G?nter@22819 | 21 { |
Hans-G?nter@22819 | 22 ./configure \ |
Hans-G?nter@22819 | 23 --disable-blake2 \ |
Hans-G?nter@22819 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@22819 | 25 make && |
Hans-G?nter@22819 | 26 make install |
Hans-G?nter@22819 | 27 } |
Hans-G?nter@22819 | 28 |
Hans-G?nter@22819 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@22819 | 30 genpkg_rules() |
Hans-G?nter@22819 | 31 { |
Hans-G?nter@22819 | 32 cook_copy_icons |
Hans-G?nter@22819 | 33 |
Hans-G?nter@22819 | 34 mkdir -p $fs/usr/share/locale |
Hans-G?nter@22819 | 35 |
Hans-G?nter@22819 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22819 | 37 cp -a $install/usr/share/applications $fs/usr/share |
Hans-G?nter@22819 | 38 |
Hans-G?nter@22819 | 39 # Set list of wanted locales in LOCALE_PACK |
Hans-G?nter@22819 | 40 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
Hans-G?nter@22819 | 41 |
Hans-G?nter@22819 | 42 # Copy message files in wanted languages, if available |
Hans-G?nter@22819 | 43 for locale in $LOCALE_PACK |
Hans-G?nter@22819 | 44 do |
Hans-G?nter@22819 | 45 [ -d $install/usr/share/locale/$locale ] || continue |
Hans-G?nter@22819 | 46 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale |
Hans-G?nter@22819 | 47 done |
Hans-G?nter@22819 | 48 } |