# HG changeset patch # User Liu Peng # Date 1245338908 -28800 # Node ID 7a518ed089885a19197166cf7f95ffd4bf533e3b # Parent 8fc90d8b565bfde52719760a68c53d9ad13e82fc Added pwsafe diff -r 8fc90d8b565b -r 7a518ed08988 pwsafe/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pwsafe/receipt Thu Jun 18 23:28:28 2009 +0800 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="pwsafe" +VERSION="0.2.0" +CATEGORY="utilities" +SHORT_DESC="pwsafe is commandline program that manages encrypted password databases." +MAINTAINER="rocky@slitaz.org" +DEPENDS="readline ncurses" +BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://sourceforge.net/projects/pwsafe" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr +} + +post_install() +{ + local root + root=$1 + chmod u+s $root/usr/bin/pwsafe +}