wok-next annotate ntlmaps/receipt @ rev 20683
Up pciids (20180517), usbids (20180504)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 18 15:15:42 2018 +0300 (2018-05-18) |
parents | 3765f181a6d5 |
children |
rev | line source |
---|---|
al@20481 | 1 # SliTaz package receipt v2. |
pascal@4005 | 2 |
pascal@4005 | 3 PACKAGE="ntlmaps" |
pascal@4005 | 4 VERSION="0.9.9.0.1" |
pascal@4005 | 5 CATEGORY="network" |
al@20481 | 6 SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy" |
pascal@4005 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
al@20481 | 9 WEB_SITE="http://ntlmaps.sourceforge.net/" |
al@20481 | 10 |
pascal@4005 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4005 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4005 | 13 |
al@20481 | 14 compile_rules() { |
al@20481 | 15 mkdir -p \ |
al@20481 | 16 $install/usr/share/ntlmaps \ |
al@20481 | 17 $install/usr/bin \ |
al@20481 | 18 $install/etc |
al@20481 | 19 cp -a $src/* $install/usr/share/ntlmaps |
al@20481 | 20 mv $install/usr/share/ntlmaps/server.cfg $install/etc/ntlmaps.conf |
al@20481 | 21 ln -s /etc/ntlmaps.conf $install/usr/share/ntlmaps/server.cfg |
al@20481 | 22 cat > $install/usr/bin/ntlmaps <<EOT |
pascal@4005 | 23 #!/bin/sh |
pascal@4005 | 24 exec python /usr/share/ntlmaps/main.py |
pascal@4005 | 25 EOT |
al@20481 | 26 chmod +x $install/usr/bin/ntlmaps |
pascal@4005 | 27 } |
pascal@4005 | 28 |
al@20481 | 29 genpkg_rules() { |
al@20481 | 30 copy @std |
al@20481 | 31 DEPENDS="python" |
al@20481 | 32 CONFIG_FILES="/etc/ntlmaps.conf" |
al@20481 | 33 TAGS="proxy server" |
al@20481 | 34 } |