wok annotate pwsafe/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (11 months ago)
parents 6023b31d568c
children b81ceff0b056
rev   line source
rocky@3495 1 # SliTaz package receipt.
rocky@3495 2
rocky@3495 3 PACKAGE="pwsafe"
rocky@3495 4 VERSION="0.2.0"
rocky@3495 5 CATEGORY="utilities"
rocky@3495 6 SHORT_DESC="pwsafe is commandline program that manages encrypted password databases."
rocky@3495 7 MAINTAINER="rocky@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@15000 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25449 10 WEB_SITE="https://github.com/nsd20463/pwsafe/"
pascal@25043 11 WGET_URL="https://fossies.org/linux/privat/old/$TARBALL"
pascal@15000 12
pascal@5005 13 DEPENDS="readline ncurses xorg-libSM xorg-libICE xorg-libXmu xorg-libX11 \
pascal@5005 14 libcrypto gcc-lib-base xorg-libXt xorg-libXext xorg-libXau xorg-libXdmcp"
rocky@3495 15 BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev"
rocky@3495 16
pascal@24500 17 # What is the latest version available today?
pascal@24500 18 current_version()
pascal@24500 19 {
pascal@25449 20 wget -O - https://github.com/nsd20463/pwsafe/releases 2>/dev/null | \
pascal@25601 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24500 22 }
pascal@24500 23
rocky@3495 24 # Rules to configure and make the package.
rocky@3495 25 compile_rules()
rocky@3495 26 {
rocky@3495 27 ./configure --prefix=/usr \
rocky@3495 28 --infodir=/usr/share/info \
rocky@3495 29 --mandir=/usr/share/man \
rocky@3495 30 $CONFIGURE_ARGS &&
rocky@3495 31 make &&
pascal@15000 32 make DESTDIR=$DESTDIR install
rocky@3495 33 }
rocky@3495 34
rocky@3495 35 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3495 36 genpkg_rules()
rocky@3495 37 {
rocky@3495 38 mkdir -p $fs/usr
pascal@15000 39 cp -a $install/usr/bin $fs/usr
rocky@3495 40 }
rocky@3495 41
rocky@3495 42 post_install()
rocky@3495 43 {
pascal@18730 44 chmod u+s "$1/usr/bin/pwsafe"
rocky@3495 45 }