wok-next diff ntlmaps/receipt @ rev 21470

updated totem-pl-parser (3.26.0 -> 3.26.5)
author Hans-G?nter Theisgen
date Wed May 13 08:02:17 2020 +0100 (2020-05-13)
parents 3765f181a6d5
children
line diff
     1.1 --- a/ntlmaps/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.2 +++ b/ntlmaps/receipt	Wed May 13 08:02:17 2020 +0100
     1.3 @@ -1,36 +1,34 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ntlmaps"
     1.8  VERSION="0.9.9.0.1"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy."
    1.11 +SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://ntlmaps.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://ntlmaps.sourceforge.net/"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -CONFIG_FILES="/etc/ntlmaps.conf"
    1.20 -TAGS="proxy server"
    1.21  
    1.22 -DEPENDS="python"
    1.23 -
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -}
    1.29 -
    1.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 -genpkg_rules()
    1.32 -{
    1.33 -	mkdir -p $fs/usr/share/ntlmaps $fs/usr/bin $fs/etc
    1.34 -	cp -a $src/* $fs/usr/share/ntlmaps
    1.35 -	mv $fs/usr/share/ntlmaps/server.cfg $fs/etc/ntlmaps.conf
    1.36 -	ln -s /etc/ntlmaps.conf $fs/usr/share/ntlmaps/server.cfg
    1.37 -	cat > $fs/usr/bin/ntlmaps <<EOT
    1.38 +compile_rules() {
    1.39 +	mkdir -p \
    1.40 +		$install/usr/share/ntlmaps \
    1.41 +		$install/usr/bin \
    1.42 +		$install/etc
    1.43 +	cp -a $src/* $install/usr/share/ntlmaps
    1.44 +	mv $install/usr/share/ntlmaps/server.cfg $install/etc/ntlmaps.conf
    1.45 +	ln -s /etc/ntlmaps.conf $install/usr/share/ntlmaps/server.cfg
    1.46 +	cat > $install/usr/bin/ntlmaps <<EOT
    1.47  #!/bin/sh
    1.48  exec python /usr/share/ntlmaps/main.py
    1.49  EOT
    1.50 -	chmod +x $fs/usr/bin/ntlmaps
    1.51 +	chmod +x $install/usr/bin/ntlmaps
    1.52  }
    1.53  
    1.54 +genpkg_rules() {
    1.55 +	copy @std
    1.56 +	DEPENDS="python"
    1.57 +	CONFIG_FILES="/etc/ntlmaps.conf"
    1.58 +	TAGS="proxy server"
    1.59 +}