wok view pwgen/receipt @ rev 25440

Up codec2 (1.0.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 01 16:59:10 2022 +0000 (2022-09-01)
parents 54a04d133310
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="pwgen"
4 VERSION="2.08"
5 CATEGORY="misc"
6 SHORT_DESC="A small password generator which creates passwords which can be easily memorized by a human."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://sourceforge.net/projects/pwgen/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://sourceforge.net/projects/pwgen/files/pwgen/ 2>/dev/null | \
18 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
19 sed '/scope="row/!d;s|.*/pwgen/||;s|/.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }