summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-05-09 19:36:44 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-05-09 19:37:38 +0000
commite928901b04d61474794a5acb71196792d36a011f (patch)
tree96c96337a95e01da1a8477da3a4b220cd0ecce0d /app-misc/hilite
parentsci-geosciences/gpsd: fix parallel build #577432 (diff)
downloadgentoo-e928901b04d61474794a5acb71196792d36a011f.tar.gz
gentoo-e928901b04d61474794a5acb71196792d36a011f.tar.bz2
gentoo-e928901b04d61474794a5acb71196792d36a011f.zip
app-misc/hilite: EAPI 6.
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-misc/hilite')
-rw-r--r--app-misc/hilite/hilite-1.5-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/app-misc/hilite/hilite-1.5-r1.ebuild b/app-misc/hilite/hilite-1.5-r1.ebuild
new file mode 100644
index 000000000000..3db014a253f7
--- /dev/null
+++ b/app-misc/hilite/hilite-1.5-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A utility which highlights stderr text in red"
+HOMEPAGE="http://sourceforge.net/projects/hilite"
+SRC_URI="mirror://gentoo/${P}.c"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+S="${WORKDIR}"
+
+src_unpack() { :; }
+
+src_prepare() {
+ default
+ cp "${DISTDIR}"/${P}.c "${WORKDIR}"/ || die
+}
+
+src_compile() {
+ ebegin "$(tc-getCC) ${LDFLAGS} ${CFLAGS} -o ${PN} ${P}.c"
+ $(tc-getCC) ${LDFLAGS} ${CFLAGS} -o ${PN} ${P}.c || die
+ eend $?
+}
+
+src_install() {
+ dobin "${PN}"
+}