1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
9 MY_CMD="pptp-command-20130515"
11 DESCRIPTION="Linux client for PPTP"
12 HOMEPAGE="http://pptpclient.sourceforge.net/"
13 SRC_URI="mirror://sourceforge/pptpclient/${MY_P}.tar.gz
14 https://dev.gentoo.org/~pinkbyte/distfiles/pptpclient/${MY_CMD}.bz2"
18 KEYWORDS="alpha amd64 ~arm ~arm64 ppc ppc64 x86"
21 DEPEND="net-dialup/ppp
27 RESTRICT="test" #make test is useless and vector_test.c is broken
29 S="${WORKDIR}/${MY_P}"
31 DOCS=( AUTHORS ChangeLog DEVELOPERS NEWS README TODO USING )
34 emake OPTIMISE= DEBUG= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
42 # The current version of pptp-linux doesn't include the
43 # RH-specific portions, so include them ourselves.
44 newsbin "${WORKDIR}/${MY_CMD}" pptp-command
45 dosbin "${FILESDIR}/pptp_fe.pl"
46 use tk && dosbin "${FILESDIR}/xpptp_fe.pl"