wok-current view pwsafe/receipt @ rev 25727

Add miss stuff folder for libxml++, dbus-c++
author Stanislas Leduc <shann@slitaz.org>
date Tue Nov 05 13:46:37 2024 +0000 (4 weeks 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 }