net-misc/whatmask: EAPI=7
authorJeroen Roovers <jer@gentoo.org>
Mon, 27 Jan 2020 16:51:28 +0000 (17:51 +0100)
committerJeroen Roovers <jer@gentoo.org>
Mon, 27 Jan 2020 16:51:36 +0000 (17:51 +0100)
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
net-misc/whatmask/whatmask-1.2-r1.ebuild

index 4dbd6756dbc5ac7dab3e8020d4c5c55ec7b5099e..1d26a1cd2e07b594417d58d5ae1df79134f8748d 100644 (file)
@@ -1,21 +1,20 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
-
+EAPI=7
 inherit toolchain-funcs
 
 DESCRIPTION="little C program to compute different subnet mask notations"
 HOMEPAGE="http://www.laffeycomputer.com/whatmask.html"
-SRC_URI="http://downloads.laffeycomputer.com/current_builds/whatmask/${P}.tar.gz"
+SRC_URI="http://downloads.laffeycomputer.com/current_builds/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 hppa ppc sparc x86"
-IUSE=""
 
 DOCS=( AUTHORS ChangeLog INSTALL NEWS README )
 
-src_prepare() {
+src_configure() {
        tc-export CC
+       default
 }