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