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-arch/unp/unp-2.0_pre7.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-arch/unp/unp-2.0_pre7.ebuild')
-rw-r--r-- | app-arch/unp/unp-2.0_pre7.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-arch/unp/unp-2.0_pre7.ebuild b/app-arch/unp/unp-2.0_pre7.ebuild new file mode 100644 index 000000000000..17f3ea399609 --- /dev/null +++ b/app-arch/unp/unp-2.0_pre7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 + +inherit eutils bash-completion-r1 + +DESCRIPTION="Script for unpacking various file formats" +HOMEPAGE="https://packages.qa.debian.org/u/unp.html" +SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${PV/_/$'\x7e'}.tar.bz2" +S="${WORKDIR}/${PN}-${PV/_/$'\x7e'}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="nls" + +DEPEND="nls? ( sys-devel/gettext )" + +RDEPEND="${DEPEND} + dev-lang/perl" + +src_compile() { + if use nls; then + cd po + emake + fi +} + +src_install() { + dobin unp || die "dobin failed" + dosym unp /usr/bin/ucat + doman debian/unp.1 || die "doman failed" + dodoc debian/changelog debian/README.Debian + dobashcomp bash_completion.d/unp + + if use nls; then + cd po + emake DESTDIR="${D}" install + fi +} |