wok view pwsafe/receipt @ rev 25601

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