wok view pwgen/receipt @ rev 25428

updated xarchiver (0.5.4.14 -> 0.5.4.18)
author Hans-G?nter Theisgen
date Thu Aug 18 17:12:42 2022 +0100 (2022-08-18)
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 }