wok-6.x view gtkhash/receipt @ rev 23592
created recipe for python-pbr
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 11:05:31 2020 +0100 (2020-04-08) |
parents | |
children | 5ea0ce1cecc0 |
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --disable-blake2 \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cook_copy_icons
34 mkdir -p $fs/usr/share/locale
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/applications $fs/usr/share
39 # Set list of wanted locales in LOCALE_PACK
40 . $WOK/slitaz-i18n/stuff/locale-pack.conf
42 # Copy message files in wanted languages, if available
43 for locale in $LOCALE_PACK
44 do
45 [ -d $install/usr/share/locale/$locale ] || continue
46 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
47 done
48 }