blob: 0248350c9bc3a5df0e0070c5eef6a9d8edb0a1d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-proxy/ntlmaps/ntlmaps-0.9.8.ebuild,v 1.3 2004/10/02 17:18:01 kloeri Exp $
inherit eutils
MY_P_URL="aps${PV//.}"
DESCRIPTION="NTLM proxy Authentication against MS proxy/web server"
HOMEPAGE="http://ntlmaps.sourceforge.net/"
SRC_URI="mirror://sourceforge/ntlmaps/${MY_P_URL}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~ppc ~x86 ~alpha"
IUSE=""
DEPEND=">=dev-lang/python-1.5"
S=${WORKDIR}/${MY_P_URL}
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}.patch
}
src_install() {
dodir /usr/${PN}/lib
exeinto /usr/${PN}
doexe main.py || die
insinto /usr/${PN}/lib
doins lib/*
dodoc Install.txt changelog.txt readme.txt research.txt
insinto /usr/share/doc/${P}/doc
doins doc/*
insinto /etc/conf.d
newins ${S}/server.cfg ${PN}.cfg
exeinto /etc/init.d
newexe ${FILESDIR}/${PN}.init ${PN}
}
|