net-dialup/wvdial: Fix homepage (#551380 by jstein), eapi bump, use readme.gentoo...
authorPacho Ramos <pacho@gentoo.org>
Wed, 24 Aug 2016 13:46:22 +0000 (15:46 +0200)
committerPacho Ramos <pacho@gentoo.org>
Wed, 24 Aug 2016 13:51:55 +0000 (15:51 +0200)
Package-Manager: portage-2.3.0

net-dialup/wvdial/files/wvdial-1.61-destdir.patch
net-dialup/wvdial/wvdial-1.61.ebuild

index 61f8cf74264a42f5f233a381558b0854532cb43a..ceea40054aa4e2fe1c15daeaea6bf53f619437fd 100644 (file)
@@ -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=
index 0966c4fa42ba837c380664682f8fc5831ab4133b..f86fb4d1535ba3841ff823554a24ed83fd9931a3 100644 (file)
@@ -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
 }