blob: d4fa602f08a488a74b9c23f9dae5491b26bba777 [file] [log] [blame]
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
DESCRIPTION="Common set of scripts for various PPP implementations"
HOMEPAGE="https://gentoo.org/"
SRC_URI="https://dev.gentoo.org/~pinkbyte/distfiles/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
DEPEND="!<net-dialup/ppp-2.4.7-r1"
RDEPEND="${DEPEND}"
S="${WORKDIR}"
src_install() {
exeinto /etc/ppp
for i in ip-up ip-down ; do
doexe "scripts/${i}"
insinto /etc/ppp/${i}.d
dosym ${i} /etc/ppp/${i/ip/ipv6}
doins "scripts/${i}.d"/*
done
}