wok-current view gtkhash/receipt @ rev 24804
updated liblouis and liblouis-dev (3.13.0 -> 3.21.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 10:57:54 2022 +0100 (2022-03-22) |
parents | fab080cdb380 |
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 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --disable-blake2 \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_icons
40 mkdir -p $fs/usr/share/locale
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/applications $fs/usr/share
45 # Set list of wanted locales in LOCALE_PACK
46 . $WOK/slitaz-i18n/stuff/locale-pack.conf
48 # Copy message files in wanted languages, if available
49 for locale in $LOCALE_PACK
50 do
51 [ -d $install/usr/share/locale/$locale ] || continue
52 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
53 done
54 }