wok-6.x view chntpw/receipt @ rev 24655

updated iasl (20200214 -> 20211217)
author Hans-G?nter Theisgen
date Fri Mar 11 07:05:53 2022 +0100 (2022-03-11)
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 }