wok-6.x view pwsafe/receipt @ rev 25509

sgmixer: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 13:14:45 2023 +0000 (20 months ago)
parents 76c41f0eab0e
children
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 '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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 }