wok annotate ntlmaps/receipt @ rev 4153
xv provides liblzma
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 21 13:37:43 2009 +0200 (2009-09-21) |
parents | |
children | bee79018e13a |
rev | line source |
---|---|
pascal@4005 | 1 # SliTaz package receipt. |
pascal@4005 | 2 |
pascal@4005 | 3 PACKAGE="ntlmaps" |
pascal@4005 | 4 VERSION="0.9.9.0.1" |
pascal@4005 | 5 CATEGORY="network" |
pascal@4005 | 6 SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy." |
pascal@4005 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4005 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4005 | 9 WEB_SITE="http://ntlmaps.sourceforge.net/" |
pascal@4005 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4005 | 11 DEPENDS="python" |
pascal@4005 | 12 CONFIG_FILES="/etc/ntlmaps.conf" |
pascal@4005 | 13 |
pascal@4005 | 14 # Rules to configure and make the package. |
pascal@4005 | 15 compile_rules() |
pascal@4005 | 16 { |
pascal@4005 | 17 cd $src |
pascal@4005 | 18 } |
pascal@4005 | 19 |
pascal@4005 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4005 | 21 genpkg_rules() |
pascal@4005 | 22 { |
pascal@4005 | 23 mkdir -p $fs/usr/share/ntlmaps $fs/usr/bin $fs/etc |
pascal@4005 | 24 cp -a $src/* $fs/usr/share/ntlmaps |
pascal@4005 | 25 mv $fs/usr/share/ntlmaps/server.cfg $fs/etc/ntlmaps.conf |
pascal@4005 | 26 ln -s /etc/ntlmaps.conf $fs/usr/share/ntlmaps/server.cfg |
pascal@4005 | 27 cat > $fs/usr/bin/ntlmaps <<EOT |
pascal@4005 | 28 #!/bin/sh |
pascal@4005 | 29 exec python /usr/share/ntlmaps/main.py |
pascal@4005 | 30 EOT |
pascal@4005 | 31 chmod +x $fs/usr/bin/ntlmaps |
pascal@4005 | 32 } |
pascal@4005 | 33 |