wok view gtkhash/receipt @ rev 25707

Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 14:08:34 2024 +0000 (3 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkhash"
4 VERSION="1.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="GTK+ utility for computing message digests or checksums."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPLv2+"
9 WEB_SITE="https://github.com/tristanheaven/gtkhash"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="gtk+3 libgcrypt"
15 BUILD_DEPENDS="autoconf automake gtk+3-dev libgcrypt-dev libtool"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --disable-blake2 \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_icons
41 mkdir -p $fs/usr/share/locale
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/applications $fs/usr/share
46 # Set list of wanted locales in LOCALE_PACK
47 . $WOK/slitaz-i18n/stuff/locale-pack.conf
49 # Copy message files in wanted languages, if available
50 for locale in $LOCALE_PACK
51 do
52 [ -d $install/usr/share/locale/$locale ] || continue
53 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
54 done
55 }