wok view pwsafe/receipt @ rev 25723
added recipe for xfce4-mixer-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 17 16:43:37 2024 +0100 (2 months ago) |
parents | 0262035dc1e7 |
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/tags 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;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 }