wok view gtkhash/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (4 weeks 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 }