wok-current annotate pwsafe/receipt @ rev 8844

Add: slitaz-fbsplash (Graphical boot utility and theme
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 25 01:06:52 2011 +0100 (2011-02-25)
parents 7a518ed08988
children 380ffe05937a
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"
pascal@5005 8 DEPENDS="readline ncurses xorg-libSM xorg-libICE xorg-libXmu xorg-libX11 \
pascal@5005 9 libcrypto gcc-lib-base xorg-libXt xorg-libXext xorg-libXau xorg-libXdmcp"
rocky@3495 10 BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev"
rocky@3495 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
rocky@3495 12 WEB_SITE="http://sourceforge.net/projects/pwsafe"
rocky@3495 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
rocky@3495 14
rocky@3495 15 # Rules to configure and make the package.
rocky@3495 16 compile_rules()
rocky@3495 17 {
rocky@3495 18 cd $src
rocky@3495 19 ./configure --prefix=/usr \
rocky@3495 20 --infodir=/usr/share/info \
rocky@3495 21 --mandir=/usr/share/man \
rocky@3495 22 $CONFIGURE_ARGS &&
rocky@3495 23 make &&
rocky@3495 24 make DESTDIR=$PWD/_pkg install
rocky@3495 25 }
rocky@3495 26
rocky@3495 27 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3495 28 genpkg_rules()
rocky@3495 29 {
rocky@3495 30 mkdir -p $fs/usr
rocky@3495 31 cp -a $_pkg/usr/bin $fs/usr
rocky@3495 32 }
rocky@3495 33
rocky@3495 34 post_install()
rocky@3495 35 {
rocky@3495 36 local root
rocky@3495 37 root=$1
rocky@3495 38 chmod u+s $root/usr/bin/pwsafe
rocky@3495 39 }