/[gentoo-x86]/net-proxy/cntlm/cntlm-0.92.3.ebuild
Gentoo

Contents of /net-proxy/cntlm/cntlm-0.92.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Oct 2 13:16:42 2012 UTC (18 months, 3 weeks ago) by haubi
Branch: MAIN
Revbump. Respect CC/CFLAGS/LDFLAGS, build verbose, bug#334647.

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-proxy/cntlm/cntlm-0.35.1-r2.ebuild,v 1.1 2011/11/07 07:29:31 mduft Exp $
4
5 EAPI=2
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Cntlm is an NTLM/NTLMv2 authenticating HTTP proxy"
10 HOMEPAGE="http://cntlm.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/cntlm/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND=""
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${P}-buildsystem.patch # 334647
23 }
24
25 src_configure() {
26 tc-export CC
27
28 econf || die "econf failed"
29
30 # Replace default config file path in Makefile
31 sed -i -e 's~SYSCONFDIR=/usr/local/etc~SYSCONFDIR=/etc~' \
32 "${S}"/Makefile || die "sed failed"
33 }
34
35 src_compile() {
36 emake V=1 || die "emake failed"
37 }
38
39 src_install() {
40 dobin cntlm
41 dodoc COPYRIGHT README VERSION doc/cntlm.conf
42 doman doc/cntlm.1
43 newinitd "${FILESDIR}"/cntlm.initd cntlm
44 newconfd "${FILESDIR}"/cntlm.confd cntlm
45 insinto /etc
46 insopts -m0600
47 doins doc/cntlm.conf
48 }
49
50 pkg_postinst() {
51 enewgroup cntlm
52 enewuser cntlm -1 -1 -1 cntlm
53 }

  ViewVC Help
Powered by ViewVC 1.1.20