wok-current view pwsafe/receipt @ rev 4343
Up: slitaz-tools (3.3) - Lots of improvment and fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Oct 01 22:02:51 2009 +0200 (2009-10-01) |
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 }