wok view ntlmaps/receipt @ rev 4033

Update: xorg X11 and Xrender devs (DEPENDS)
author Matthew Sheets <rcx@zoominternet.net>
date Mon Sep 07 16:53:32 2009 +0000 (2009-09-07)
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 }