SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pwgen"

# SliTaz package receipt.

PACKAGE="pwgen"
VERSION="2.08"
CATEGORY="misc"
SHORT_DESC="A small password generator which creates passwords which can be easily memorized by a human."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL"
#WEB_SITE="https://sourceforge.net/projects/pwgen"
WEB_SITE="https://github.com/tytso/pwgen"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/tytso/pwgen/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)