wok annotate chntpw/receipt @ rev 24894

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 08 10:34:41 2022 +0000 (2022-04-08)
parents ba12500dd54e
children
rev   line source
slaxemulator@7605 1 # SliTaz package receipt.
slaxemulator@7605 2
slaxemulator@7605 3 PACKAGE="chntpw"
erkan@18723 4 VERSION="140201"
slaxemulator@7605 5 CATEGORY="security"
slaxemulator@7605 6 SHORT_DESC="Offline NT Password and Registry editor"
slaxemulator@7605 7 MAINTAINER="db_slitaz@m4x.org"
pascal@15202 8 LICENSE="GPL2 LGPL2.1"
slaxemulator@7605 9 TARBALL="$PACKAGE-source-$VERSION.zip"
slaxemulator@7605 10 WEB_SITE="http://pogostick.net/~pnh/ntpasswd/"
slaxemulator@7605 11 WGET_URL="http://pogostick.net/~pnh/ntpasswd/$TARBALL"
slaxemulator@7605 12
pascal@15202 13 DEPENDS="openssl"
pascal@15202 14 BUILD_DEPENDS="openssl-dev"
pascal@15202 15
pascal@24491 16 # What is the latest version available today?
pascal@24491 17 current_version()
pascal@24491 18 {
pascal@24491 19 wget -O - $WEB_SITE/main.html 2>/dev/null | \
pascal@24491 20 sed '/Latest release/!d;s|.* is ||;s| (.*||;q'
pascal@24491 21 }
pascal@24491 22
slaxemulator@7605 23 # Rules to configure and make the package.
slaxemulator@7605 24 compile_rules()
slaxemulator@7605 25 {
slaxemulator@7605 26 cd $src
slaxemulator@7605 27 make
slaxemulator@7605 28 }
slaxemulator@7605 29
slaxemulator@7605 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7605 31 genpkg_rules()
slaxemulator@7605 32 {
slaxemulator@7605 33 mkdir -p $fs/usr/bin
slaxemulator@7605 34 cp -a $src/chntpw $src/reged $src/cpnt $fs/usr/bin
slaxemulator@7605 35 }
slaxemulator@7605 36