mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-util/unifdef: port to EAPI 7
Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user