dev-util/unifdef: port to EAPI 7

Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Aaron Bauman
2019-12-09 22:34:57 -05:00
parent bde22f207c
commit 7924ee799d
2 changed files with 11 additions and 7 deletions

View File

@@ -1,12 +1,13 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
EAPI=7
inherit toolchain-funcs
DESCRIPTION="remove #ifdef'ed lines from a file while otherwise leaving the file alone"
HOMEPAGE="http://dotat.at/prog/unifdef/"
SRC_URI="http://dotat.at/prog/unifdef/${P}.tar.gz"
DESCRIPTION="Remove #ifdef'ed lines from a file while otherwise leaving the file alone"
HOMEPAGE="https://dotat.at/prog/unifdef/"
SRC_URI="https://dotat.at/prog/unifdef/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
@@ -17,4 +18,5 @@ DOCS=( README )
src_prepare() {
sed -i '/^prefix/s:=.*:=/usr:' Makefile || die
tc-export CC
default
}

View File

@@ -1,12 +1,13 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=7
inherit toolchain-funcs
DESCRIPTION="remove #ifdef'ed lines from a file while otherwise leaving the file alone"
HOMEPAGE="http://dotat.at/prog/unifdef/"
SRC_URI="http://dotat.at/prog/unifdef/${P}.tar.gz"
HOMEPAGE="https://dotat.at/prog/unifdef/"
SRC_URI="https://dotat.at/prog/unifdef/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
@@ -17,4 +18,5 @@ DOCS=( README )
src_prepare() {
sed -i "/^prefix/s:=.*:=${EPREFIX}/usr:" Makefile || die
tc-export CC
default
}