wok-next diff pwsafe/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents e6615350078d
children d457c4e37c1b
line diff
     1.1 --- a/pwsafe/receipt	Wed Feb 28 16:28:07 2018 +0200
     1.2 +++ b/pwsafe/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,39 +1,30 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pwsafe"
     1.8  VERSION="0.2.0"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="pwsafe is commandline program that manages encrypted password databases."
    1.11 -MAINTAINER="rocky@slitaz.org"
    1.12 +SHORT_DESC="Commandline program that manages encrypted password databases"
    1.13 +MAINTAINER="devel@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="http://sourceforge.net/projects/pwsafe"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://sourceforge.net/projects/pwsafe"
    1.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20  
    1.21 -DEPENDS="readline ncurses xorg-libSM xorg-libICE xorg-libXmu xorg-libX11 \
    1.22 -openssl gcc-lib-base xorg-libXt xorg-libXext xorg-libXau xorg-libXdmcp"
    1.23  BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -    cd $src
    1.29 -    ./configure --prefix=/usr \
    1.30 -        --infodir=/usr/share/info \
    1.31 -        --mandir=/usr/share/man \
    1.32 -        $CONFIGURE_ARGS &&
    1.33 -    make &&
    1.34 -    make DESTDIR=$DESTDIR install
    1.35 +compile_rules() {
    1.36 +	./configure $CONFIGURE_ARGS &&
    1.37 +	make &&
    1.38 +	make DESTDIR=$install install
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 -    mkdir -p $fs/usr
    1.45 -    cp -a $install/usr/bin $fs/usr
    1.46 +genpkg_rules() {
    1.47 +	copy @std
    1.48 +	DEPENDS="readline ncurses xorg-libSM xorg-libICE xorg-libXmu xorg-libX11 \
    1.49 +	openssl gcc-lib-base xorg-libXt xorg-libXext xorg-libXau xorg-libXdmcp"
    1.50  }
    1.51  
    1.52 -post_install() 
    1.53 -{
    1.54 -    chmod u+s "$1/usr/bin/pwsafe"
    1.55 +post_install() {
    1.56 +	chmod u+s "$1/usr/bin/pwsafe"
    1.57  }