# 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 xorg-libSM xorg-libICE xorg-libXmu xorg-libX11 \ libcrypto gcc-lib-base xorg-libXt xorg-libXext xorg-libXau xorg-libXdmcp" 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 }