wok-current view chntpw/receipt @ rev 25393

updated util-linux packages (2.35.1 -> 2.38)
author Hans-G?nter Theisgen
date Mon Aug 01 16:38:43 2022 +0100 (2022-08-01)
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 }