/[gentoo-x86]/net-dialup/pptpclient/pptpclient-1.7.1-r1.ebuild
Gentoo

Contents of /net-dialup/pptpclient/pptpclient-1.7.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Mar 18 07:39:17 2007 UTC (7 years, 9 months ago) by mrness
Branch: MAIN
Remove obsolete version. Don't rename pptp process to pptpgw (#171058). Restrict test - vector_test.c is useless and broken.
(Portage version: 2.1.2.2)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-dialup/pptpclient/pptpclient-1.7.1.ebuild,v 1.7 2007/02/10 09:21:35 mrness Exp $
4
5 inherit eutils
6
7 MY_P=${P/client}
8 MY_CMD=pptp-command-20050401
9
10 DESCRIPTION="Linux client for PPTP"
11 HOMEPAGE="http://pptpclient.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/pptpclient/${MY_P}.tar.gz
13 mirror://gentoo/${MY_CMD}.gz"
14
15 SLOT="0"
16 LICENSE="GPL-2"
17 KEYWORDS="alpha amd64 ppc ppc64 x86"
18 IUSE="tk"
19
20 DEPEND=">=net-dialup/ppp-2.4.2
21 dev-lang/perl
22 tk? ( dev-perl/perl-tk )"
23
24 RESTRICT="test" #make test is useless and vector_test.c is broken
25
26 S="${WORKDIR}/${MY_P}"
27
28 src_unpack() {
29 unpack ${A}
30
31 epatch "${FILESDIR}"/${P}-process-name.patch
32 }
33
34 src_compile() {
35 emake OPTIMISE= DEBUG= CFLAGS="${CFLAGS}" || die "make failed"
36 }
37
38 src_install() {
39 dosbin pptp
40 dodoc AUTHORS ChangeLog DEVELOPERS NEWS README TODO USING
41 dodoc Documentation/*
42 dodoc Reference/*
43 dodir /etc/pptp.d
44
45 # The current version of pptp-linux doesn't include the
46 # RH-specific portions, so include them ourselves.
47 insinto /etc/ppp
48 doins options.pptp
49 newsbin "${WORKDIR}/${MY_CMD}" pptp-command
50 dosbin "${FILESDIR}/pptp_fe.pl"
51 use tk && dosbin "${FILESDIR}/xpptp_fe.pl"
52 }

  ViewVC Help
Powered by ViewVC 1.1.20