wok view pwgen/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 50e162af45ee
children
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"
10 WEB_SITE="https://github.com/tytso/pwgen"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://github.com/tytso/pwgen/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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 }