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 /dev-util/idutils/idutils-4.2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/idutils/idutils-4.2.ebuild')
-rw-r--r-- | dev-util/idutils/idutils-4.2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/idutils/idutils-4.2.ebuild b/dev-util/idutils/idutils-4.2.ebuild new file mode 100644 index 000000000000..06fe5867b621 --- /dev/null +++ b/dev-util/idutils/idutils-4.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils elisp-common + +DESCRIPTION="Fast, high-capacity, identifier database tool" +HOMEPAGE="https://www.gnu.org/software/idutils/" +DEB_PN="id-utils" # old upstream name for it +DEB_P="${DEB_PN}_${PV}" +DEB_PR="1" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz + mirror://debian/pool/main/${PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="emacs nls" + +RDEPEND="emacs? ( virtual/emacs ) + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${P}.tar.gz + cd "${S}" + epatch "${DISTDIR}"/${DEB_P}-${DEB_PR}.diff.gz + epatch "${S}"/debian/patches/*.dpatch +} + +src_compile() { + use emacs || export EMACS=no + econf \ + $(use_enable nls) \ + "$(use_with emacs lispdir "${SITELISP}/${PN}")" + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc NEWS README* ChangeLog AUTHORS THANKS TODO +} |