wok-4.x view pwsafe/receipt @ rev 3495

Added pwsafe
author Liu Peng <rocky@slitaz.org>
date Thu Jun 18 23:28:28 2009 +0800 (2009-06-18)
parents
children f3327707164a
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 DEPENDS="readline ncurses"
9 BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://sourceforge.net/projects/pwsafe"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }
33 post_install()
34 {
35 local root
36 root=$1
37 chmod u+s $root/usr/bin/pwsafe
38 }