wok-6.x view hashalot/receipt @ rev 24144
ventoy: use web interface
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 09:45:35 2021 +0000 (2021-11-17) |
parents | 924febe49050 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hashalot"
4 VERSION="0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Passphrase to binary key filter."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20191219002710/http://www.paranoiacs.org/~sluskyb/hacks/hashalot/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 current_version()
14 {
15 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
16 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
17 }
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --prefix=/usr $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 }