wok-current annotate pwsafe/receipt @ rev 15000
Add some GPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 17:00:38 2013 +0000 (2013-08-10) |
parents | f3327707164a |
children | 9e01bc6321ea |
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@15000 | 8 LICENSE="GPL2" |
pascal@15000 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15000 | 10 WEB_SITE="http://sourceforge.net/projects/pwsafe" |
pascal@15000 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15000 | 12 |
pascal@5005 | 13 DEPENDS="readline ncurses xorg-libSM xorg-libICE xorg-libXmu xorg-libX11 \ |
pascal@5005 | 14 libcrypto gcc-lib-base xorg-libXt xorg-libXext xorg-libXau xorg-libXdmcp" |
rocky@3495 | 15 BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev" |
rocky@3495 | 16 |
rocky@3495 | 17 # Rules to configure and make the package. |
rocky@3495 | 18 compile_rules() |
rocky@3495 | 19 { |
rocky@3495 | 20 cd $src |
rocky@3495 | 21 ./configure --prefix=/usr \ |
rocky@3495 | 22 --infodir=/usr/share/info \ |
rocky@3495 | 23 --mandir=/usr/share/man \ |
rocky@3495 | 24 $CONFIGURE_ARGS && |
rocky@3495 | 25 make && |
pascal@15000 | 26 make DESTDIR=$DESTDIR install |
rocky@3495 | 27 } |
rocky@3495 | 28 |
rocky@3495 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3495 | 30 genpkg_rules() |
rocky@3495 | 31 { |
rocky@3495 | 32 mkdir -p $fs/usr |
pascal@15000 | 33 cp -a $install/usr/bin $fs/usr |
rocky@3495 | 34 } |
rocky@3495 | 35 |
rocky@3495 | 36 post_install() |
rocky@3495 | 37 { |
rocky@3495 | 38 local root |
rocky@3495 | 39 root=$1 |
rocky@3495 | 40 chmod u+s $root/usr/bin/pwsafe |
rocky@3495 | 41 } |