summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-08-24 15:46:22 +0200
committerPacho Ramos <pacho@gentoo.org>2016-08-24 15:51:55 +0200
commit854141d9a5af3f44006b51f562df64b0f07a5bf3 (patch)
tree9fa51e240c9d0ccda73bc69b8d5ba5b74324e931 /net-dialup
parentnet-print/dymo-cups-drivers: Fix homepage (#538256 by James Cloos) (diff)
downloadgentoo-854141d9a5af3f44006b51f562df64b0f07a5bf3.tar.gz
gentoo-854141d9a5af3f44006b51f562df64b0f07a5bf3.tar.bz2
gentoo-854141d9a5af3f44006b51f562df64b0f07a5bf3.zip
net-dialup/wvdial: Fix homepage (#551380 by jstein), eapi bump, use readme.gentoo eclass
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/wvdial/files/wvdial-1.61-destdir.patch8
-rw-r--r--net-dialup/wvdial/wvdial-1.61.ebuild46
2 files changed, 28 insertions, 26 deletions
diff --git a/net-dialup/wvdial/files/wvdial-1.61-destdir.patch b/net-dialup/wvdial/files/wvdial-1.61-destdir.patch
index 61f8cf74264a..ceea40054aa4 100644
--- a/net-dialup/wvdial/files/wvdial-1.61-destdir.patch
+++ b/net-dialup/wvdial/files/wvdial-1.61-destdir.patch
@@ -1,6 +1,6 @@
=== modified file 'Makefile.in'
---- Makefile.in 2010-05-27 13:08:26 +0000
-+++ Makefile.in 2010-05-27 13:08:41 +0000
+--- a/Makefile.in 2010-05-27 13:08:26 +0000
++++ b/Makefile.in 2010-05-27 13:08:41 +0000
@@ -3,7 +3,7 @@
WVPACKAGE_TARNAME=@PACKAGE_TARNAME@
WVPACKAGE_VERSION=@PACKAGE_VERSION@
@@ -21,8 +21,8 @@
=== modified file 'config.defaults.mk'
---- config.defaults.mk 2010-05-27 13:08:26 +0000
-+++ config.defaults.mk 2010-05-27 13:43:03 +0000
+--- a/config.defaults.mk 2010-05-27 13:08:26 +0000
++++ b/config.defaults.mk 2010-05-27 13:43:03 +0000
@@ -13,7 +13,7 @@
LIBS_PAM=-lpam
LIBS_TCL=
diff --git a/net-dialup/wvdial/wvdial-1.61.ebuild b/net-dialup/wvdial/wvdial-1.61.ebuild
index 0966c4fa42ba..f86fb4d1535b 100644
--- a/net-dialup/wvdial/wvdial-1.61.ebuild
+++ b/net-dialup/wvdial/wvdial-1.61.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="3"
-
-inherit eutils
+EAPI=6
+inherit readme.gentoo-r1
DESCRIPTION="Excellent program to automatically configure PPP sessions"
-HOMEPAGE="http://alumnit.ca/wiki/?WvDial"
+HOMEPAGE="https://code.google.com/archive/p/wvstreams/"
SRC_URI="https://wvstreams.googlecode.com/files/${P}.tar.gz"
LICENSE="LGPL-2"
@@ -17,31 +16,34 @@ IUSE=""
COMMON_DEPEND=">=net-libs/wvstreams-4.4"
DEPEND="${COMMON_DEPEND}
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
RDEPEND="${COMMON_DEPEND}
- net-dialup/ppp"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-destdir.patch"
- epatch "${FILESDIR}/${P}-as-needed.patch"
- epatch "${FILESDIR}/${P}-parallel-make.patch"
-}
-
+ net-dialup/ppp:=
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-destdir.patch"
+ "${FILESDIR}/${P}-as-needed.patch"
+ "${FILESDIR}/${P}-parallel-make.patch"
+)
+
+DOC_CONTENTS="
+ Use wvdialconf to automagically generate a configuration file.
+ Users have to be member of the dialout AND the uucp group to use
+ wvdial
+"
+
src_configure() {
# Hand made configure...
./configure || die
}
src_install() {
- emake "DESTDIR=${ED}" install || die "make install failed"
- dodoc CHANGES FAQ MENUS README TODO || die
+ default
+ readme.gentoo_create_doc
}
pkg_postinst() {
- elog
- elog "Use wvdialconf to automagically generate a configuration file."
- elog
- elog "Users have to be member of the dialout AND the uucp group"
- elog "to use wvdial!"
- elog
+ readme.gentoo_print_elog
}