wok annotate pwgen/receipt @ rev 25075

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