diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild')
-rw-r--r-- | net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild b/net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild new file mode 100644 index 000000000000..658aea979dcf --- /dev/null +++ b/net-dialup/kpnadsl4linux/kpnadsl4linux-1.11.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="ADSL4Linux, a PPTP start/stop/etc. program especially for Dutch users" +HOMEPAGE="http://www.adsl4linux.nl/" +SRC_URI="http://home.planet.nl/~mcdon001/${P}.tar.gz + http://www.adsl4linux.nl/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" + +RDEPEND=">=net-dialup/pptpclient-1.7.0 + >=net-dialup/ppp-2.4.2" + +src_prepare() { + # Respect CC, CFLAGS and LDFLAGS. Bug #336109 + epatch "${FILESDIR}/${P}-Makefile.patch" + tc-export CC + + # Fix a typo + sed -i -e 's:* at first:/\0:' adslstatus.c || die 'sed on adslstatuc.c failed' + + epatch_user +} + +src_install() { + dosbin adsl + dodoc Changelog modemREADME README + newinitd init.d.adsl adsl + dosbin "${FILESDIR}/${PN}-config" +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "Do _NOT_ forget to run the following if this is your _FIRST_ install:" + elog " kpnadsl4linux-config" + elog " etc-update" + elog "To start ${P} at boot type:" + elog " rc-update add adsl default" + fi +} |