wok view ntlmaps/receipt @ rev 6335
Up: firefox, firefox-dev, libfirefox to 3.6.10.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Sep 18 23:29:04 2010 +0000 (2010-09-18) |
parents | 70a435a7d961 |
children | 3765f181a6d5 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://ntlmaps.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="python"
12 CONFIG_FILES="/etc/ntlmaps.conf"
13 TAGS="proxy server"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/ntlmaps $fs/usr/bin $fs/etc
25 cp -a $src/* $fs/usr/share/ntlmaps
26 mv $fs/usr/share/ntlmaps/server.cfg $fs/etc/ntlmaps.conf
27 ln -s /etc/ntlmaps.conf $fs/usr/share/ntlmaps/server.cfg
28 cat > $fs/usr/bin/ntlmaps <<EOT
29 #!/bin/sh
30 exec python /usr/share/ntlmaps/main.py
31 EOT
32 chmod +x $fs/usr/bin/ntlmaps
33 }