wok view ntlmaps/receipt @ rev 11153

cups: add --with-pdftops (thanks mojo)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 02 08:38:48 2011 +0100 (2011-11-02)
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 }