wok view ntlmaps/receipt @ rev 21543

updated nicotine+ (1.2.16 -> 1.4.1)
author Hans-G?nter Theisgen
date Sun May 05 17:54:12 2019 +0100 (2019-05-05)
parents bee79018e13a
children afae00265386
line source
1 # SliTaz package receipt.
3 PACKAGE="ntlmaps"
4 VERSION="0.9.9.0.1"
5 CATEGORY="network"
6 SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ntlmaps.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/ntlmaps.conf"
13 TAGS="proxy server"
15 DEPENDS="python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/ntlmaps $fs/usr/bin $fs/etc
27 cp -a $src/* $fs/usr/share/ntlmaps
28 mv $fs/usr/share/ntlmaps/server.cfg $fs/etc/ntlmaps.conf
29 ln -s /etc/ntlmaps.conf $fs/usr/share/ntlmaps/server.cfg
30 cat > $fs/usr/bin/ntlmaps <<EOT
31 #!/bin/sh
32 exec python /usr/share/ntlmaps/main.py
33 EOT
34 chmod +x $fs/usr/bin/ntlmaps
35 }