wok-6.x annotate pwsafe/receipt @ rev 21723

updated ptxdist (2012.03.0 -> 2019.06.0)
author Hans-G?nter Theisgen
date Wed Jun 12 15:08:31 2019 +0100 (2019-06-12)
parents 9e01bc6321ea
children d7522d21c4d3
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@20421 10 WEB_SITE="https://sourceforge.net/projects/pwsafe"
pascal@15000 11 WGET_URL="$SF_MIRROR/$PACKAGE/$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
rocky@3495 17 # Rules to configure and make the package.
rocky@3495 18 compile_rules()
rocky@3495 19 {
rocky@3495 20 cd $src
rocky@3495 21 ./configure --prefix=/usr \
rocky@3495 22 --infodir=/usr/share/info \
rocky@3495 23 --mandir=/usr/share/man \
rocky@3495 24 $CONFIGURE_ARGS &&
rocky@3495 25 make &&
pascal@15000 26 make DESTDIR=$DESTDIR install
rocky@3495 27 }
rocky@3495 28
rocky@3495 29 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3495 30 genpkg_rules()
rocky@3495 31 {
rocky@3495 32 mkdir -p $fs/usr
pascal@15000 33 cp -a $install/usr/bin $fs/usr
rocky@3495 34 }
rocky@3495 35
rocky@3495 36 post_install()
rocky@3495 37 {
pascal@18730 38 chmod u+s "$1/usr/bin/pwsafe"
rocky@3495 39 }