wok view chntpw/receipt @ rev 25501
Up aspell-pl (6.0_20230101-0), monitorix (3.15.0), simh (3.12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 11 14:20:29 2023 +0000 (22 months ago) |
parents | ba12500dd54e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="chntpw"
4 VERSION="140201"
5 CATEGORY="security"
6 SHORT_DESC="Offline NT Password and Registry editor"
7 MAINTAINER="db_slitaz@m4x.org"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-source-$VERSION.zip"
10 WEB_SITE="http://pogostick.net/~pnh/ntpasswd/"
11 WGET_URL="http://pogostick.net/~pnh/ntpasswd/$TARBALL"
13 DEPENDS="openssl"
14 BUILD_DEPENDS="openssl-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/main.html 2>/dev/null | \
20 sed '/Latest release/!d;s|.* is ||;s| (.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/chntpw $src/reged $src/cpnt $fs/usr/bin
35 }