wok-next annotate ntlmaps/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 3765f181a6d5
children
rev   line source
al@20481 1 # SliTaz package receipt v2.
pascal@4005 2
pascal@4005 3 PACKAGE="ntlmaps"
pascal@4005 4 VERSION="0.9.9.0.1"
pascal@4005 5 CATEGORY="network"
al@20481 6 SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy"
pascal@4005 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15584 8 LICENSE="GPL2"
al@20481 9 WEB_SITE="http://ntlmaps.sourceforge.net/"
al@20481 10
pascal@4005 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4005 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@4005 13
al@20481 14 compile_rules() {
al@20481 15 mkdir -p \
al@20481 16 $install/usr/share/ntlmaps \
al@20481 17 $install/usr/bin \
al@20481 18 $install/etc
al@20481 19 cp -a $src/* $install/usr/share/ntlmaps
al@20481 20 mv $install/usr/share/ntlmaps/server.cfg $install/etc/ntlmaps.conf
al@20481 21 ln -s /etc/ntlmaps.conf $install/usr/share/ntlmaps/server.cfg
al@20481 22 cat > $install/usr/bin/ntlmaps <<EOT
pascal@4005 23 #!/bin/sh
pascal@4005 24 exec python /usr/share/ntlmaps/main.py
pascal@4005 25 EOT
al@20481 26 chmod +x $install/usr/bin/ntlmaps
pascal@4005 27 }
pascal@4005 28
al@20481 29 genpkg_rules() {
al@20481 30 copy @std
al@20481 31 DEPENDS="python"
al@20481 32 CONFIG_FILES="/etc/ntlmaps.conf"
al@20481 33 TAGS="proxy server"
al@20481 34 }