wok-6.x view ntlmaps/receipt @ rev 4281

Up: lzip (1.8)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Sep 26 07:53:47 2009 +0000 (2009-09-26)
parents
children bee79018e13a
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/share/ntlmaps $fs/usr/bin $fs/etc
24 cp -a $src/* $fs/usr/share/ntlmaps
25 mv $fs/usr/share/ntlmaps/server.cfg $fs/etc/ntlmaps.conf
26 ln -s /etc/ntlmaps.conf $fs/usr/share/ntlmaps/server.cfg
27 cat > $fs/usr/bin/ntlmaps <<EOT
28 #!/bin/sh
29 exec python /usr/share/ntlmaps/main.py
30 EOT
31 chmod +x $fs/usr/bin/ntlmaps
32 }