wok-next view pwsafe/receipt @ rev 10068
tcl: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 05:19:01 2011 +0000 (2011-05-20) |
parents | 7a518ed08988 |
children | 380ffe05937a |
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 xorg-libSM xorg-libICE xorg-libXmu xorg-libX11 \
9 libcrypto gcc-lib-base xorg-libXt xorg-libXext xorg-libXau xorg-libXdmcp"
10 BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://sourceforge.net/projects/pwsafe"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 }
34 post_install()
35 {
36 local root
37 root=$1
38 chmod u+s $root/usr/bin/pwsafe
39 }