wok-current annotate ntlmaps/receipt @ rev 10734
Up: tazdrop to 4.2.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 29 02:22:21 2011 +0000 (2011-05-29) |
parents | 70a435a7d961 |
children | 3765f181a6d5 |
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" |
jozee@4969 | 13 TAGS="proxy server" |
pascal@4005 | 14 |
pascal@4005 | 15 # Rules to configure and make the package. |
pascal@4005 | 16 compile_rules() |
pascal@4005 | 17 { |
pascal@4005 | 18 cd $src |
pascal@4005 | 19 } |
pascal@4005 | 20 |
pascal@4005 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4005 | 22 genpkg_rules() |
pascal@4005 | 23 { |
pascal@4005 | 24 mkdir -p $fs/usr/share/ntlmaps $fs/usr/bin $fs/etc |
pascal@4005 | 25 cp -a $src/* $fs/usr/share/ntlmaps |
pascal@4005 | 26 mv $fs/usr/share/ntlmaps/server.cfg $fs/etc/ntlmaps.conf |
pascal@4005 | 27 ln -s /etc/ntlmaps.conf $fs/usr/share/ntlmaps/server.cfg |
pascal@4005 | 28 cat > $fs/usr/bin/ntlmaps <<EOT |
pascal@4005 | 29 #!/bin/sh |
pascal@4005 | 30 exec python /usr/share/ntlmaps/main.py |
pascal@4005 | 31 EOT |
pascal@4005 | 32 chmod +x $fs/usr/bin/ntlmaps |
pascal@4005 | 33 } |
pascal@4005 | 34 |