wok-next diff ldapvi/receipt @ rev 21395

updated owfs (3.2p1 -> 3.2p3)
author Hans-G?nter Theisgen
date Fri Apr 17 17:54:29 2020 +0100 (2020-04-17)
parents 466bca9334ef
children
line diff
     1.1 --- a/ldapvi/receipt	Tue Oct 17 10:14:12 2017 +0200
     1.2 +++ b/ldapvi/receipt	Fri Apr 17 17:54:29 2020 +0100
     1.3 @@ -1,31 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ldapvi"
     1.8  VERSION="1.7"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Interactive LDAP client for Unix terminals."
    1.11 +SHORT_DESC="Interactive LDAP client for Unix terminals"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.lichteblau.com/ldapvi/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.lichteblau.com/ldapvi/"
    1.18  WGET_URL="http://www.lichteblau.com/download/$TARBALL"
    1.19 -TAGS="LDAP"
    1.20  
    1.21 -DEPENDS="openldap glib popt openssl readline cyrus-sasl"
    1.22  BUILD_DEPENDS="openldap-dev glib-dev popt-dev openssl-dev ncurses-dev \
    1.23  readline-dev cyrus-sasl-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 +compile_rules() {
    1.29  	grep -qs getline_ldapvi common.h ||
    1.30  	sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h
    1.31 -	./configure --prefix=/usr $CONFIGURE_ARGS && make
    1.32 +	./configure \
    1.33 +		--prefix=/usr \
    1.34 +		$CONFIGURE_ARGS &&
    1.35 +	make &&
    1.36 +	install -Dm755 $src/ldapvi $install/usr/bin/ldapvi
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr/bin
    1.43 -	cp -a $src/ldapvi $fs/usr/bin
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="openldap glib popt openssl readline cyrus-sasl"
    1.47 +	TAGS="LDAP"
    1.48  }