wok-6.x diff ntlmaps/receipt @ rev 4779

Add: libbfd.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 14 22:16:51 2010 +0100 (2010-01-14)
parents
children bee79018e13a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ntlmaps/receipt	Thu Jan 14 22:16:51 2010 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ntlmaps"
     1.7 +VERSION="0.9.9.0.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://ntlmaps.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +DEPENDS="python"
    1.15 +CONFIG_FILES="/etc/ntlmaps.conf"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +}
    1.22 +
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +	mkdir -p $fs/usr/share/ntlmaps $fs/usr/bin $fs/etc
    1.27 +	cp -a $src/* $fs/usr/share/ntlmaps
    1.28 +	mv $fs/usr/share/ntlmaps/server.cfg $fs/etc/ntlmaps.conf
    1.29 +	ln -s /etc/ntlmaps.conf $fs/usr/share/ntlmaps/server.cfg
    1.30 +	cat > $fs/usr/bin/ntlmaps <<EOT
    1.31 +#!/bin/sh
    1.32 +exec python /usr/share/ntlmaps/main.py
    1.33 +EOT
    1.34 +	chmod +x $fs/usr/bin/ntlmaps
    1.35 +}
    1.36 +