diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-editors/dhex/dhex-0.68.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-editors/dhex/dhex-0.68.ebuild')
-rw-r--r-- | app-editors/dhex/dhex-0.68.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-editors/dhex/dhex-0.68.ebuild b/app-editors/dhex/dhex-0.68.ebuild new file mode 100644 index 000000000000..bce05d75ad52 --- /dev/null +++ b/app-editors/dhex/dhex-0.68.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs + +MY_P=${PN}_${PV} + +DESCRIPTION="ncurses-based hex-editor with diff mode" +HOMEPAGE="http://www.dettus.net/dhex/" +SRC_URI="http://www.dettus.net/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~mips x86" +IUSE="" + +DEPEND="sys-libs/ncurses:=" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.63-Makefile.patch +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" +} + +src_install() { + dobin dhex + dodoc README.txt + doman dhex.1 dhex_markers.5 dhex_searchlog.5 dhexrc.5 +} |