wok-next view ntlmaps/receipt @ rev 19980
Up libva (1.8.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:39:08 2017 +0300 (2017-10-18) |
parents | bee79018e13a |
children | b278b2018965 |
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 }