wok-6.x view ntlmaps/receipt @ rev 12717
cross-arm-glibc: put libexec files in /usr/cross/arm/lib and --enable-kernel=2.6.30
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 05 05:12:31 2012 +0200 (2012-05-05) |
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 }