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