diff options
Diffstat (limited to 'app-misc/ledit/ledit-2.05.ebuild')
-rw-r--r-- | app-misc/ledit/ledit-2.05.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app-misc/ledit/ledit-2.05.ebuild b/app-misc/ledit/ledit-2.05.ebuild index 8d4c3a6..acadd33 100644 --- a/app-misc/ledit/ledit-2.05.ebuild +++ b/app-misc/ledit/ledit-2.05.ebuild @@ -5,7 +5,8 @@ EAPI=7 DESCRIPTION="A line editor to be used with interactive commands" HOMEPAGE="http://pauillac.inria.fr/~ddr/ledit/" -SRC_URI="https://github.com/chetmurthy/ledit/archive/${P//\./-}.tar.gz" +LEDIT_P="${P//\./-}" +SRC_URI="https://github.com/chetmurthy/ledit/archive/${LEDIT_P}.tar.gz" LICENSE="BSD" SLOT="0" @@ -22,6 +23,11 @@ RDEPEND="${DEPEND}" # https://github.com/gentoo/gentoo/pull/14865#issuecomment-605697524 QA_FLAGS_IGNORED="/usr/bin/ledit" +src_unpack() { + unpack ${LEDIT_P}.tar.gz + mv ${WORKDIR}/${LEDIT_P} ${WORKDIR}/${P} +} + src_compile() { emake -j1 all if use ocamlopt; then |