wok-next diff bcrypt/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents cc6b64a4c196
children
line diff
     1.1 --- a/bcrypt/receipt	Tue Jul 05 19:30:27 2016 +0300
     1.2 +++ b/bcrypt/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -4,27 +4,24 @@
     1.4  VERSION="1.1"
     1.5  CATEGORY="security"
     1.6  SHORT_DESC="File encryption utility"
     1.7 -MAINTAINER="erjo@slitaz.org"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="BSD"
    1.10  WEB_SITE="http://bcrypt.sourceforge.net/"
    1.11 +
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 -WGET_URL="http://bcrypt.sourceforge.net/${TARBALL}"
    1.14 -TAGS="encrypt"
    1.15 +WGET_URL="http://bcrypt.sourceforge.net/$TARBALL"
    1.16  
    1.17 -DEPENDS="zlib"
    1.18  BUILD_DEPENDS="zlib-dev"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 -	make
    1.24 +compile_rules() {
    1.25 +	make &&
    1.26 +	install -Dm755 bcrypt $install/usr/bin/bcrypt || return 1
    1.27  
    1.28  	cook_pick_manpages bcrypt.1
    1.29  }
    1.30  
    1.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 -genpkg_rules()
    1.33 -{
    1.34 -	mkdir -p $fs/usr/bin
    1.35 -	cp -a $src/bcrypt $fs/usr/bin
    1.36 +genpkg_rules() {
    1.37 +	copy @std
    1.38 +	DEPENDS="zlib"
    1.39 +	TAGS="encrypt"
    1.40  }