wok-next view ntlmaps/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 3765f181a6d5 |
children |
line source
1 # SliTaz package receipt v2.
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 LICENSE="GPL2"
9 WEB_SITE="http://ntlmaps.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 compile_rules() {
15 mkdir -p \
16 $install/usr/share/ntlmaps \
17 $install/usr/bin \
18 $install/etc
19 cp -a $src/* $install/usr/share/ntlmaps
20 mv $install/usr/share/ntlmaps/server.cfg $install/etc/ntlmaps.conf
21 ln -s /etc/ntlmaps.conf $install/usr/share/ntlmaps/server.cfg
22 cat > $install/usr/bin/ntlmaps <<EOT
23 #!/bin/sh
24 exec python /usr/share/ntlmaps/main.py
25 EOT
26 chmod +x $install/usr/bin/ntlmaps
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS="python"
32 CONFIG_FILES="/etc/ntlmaps.conf"
33 TAGS="proxy server"
34 }