/[gentoo-x86]/app-arch/unp/unp-2.0_pre7.ebuild
Gentoo

Contents of /app-arch/unp/unp-2.0_pre7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Nov 14 15:18:38 2014 UTC (3 years, 7 months ago) by hanno
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +4 -4 lines
Bump, fix version issues with bash 4.3 (#526234), remove deprecated bash completion command (#526236).

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/unp/unp-2.0_pre7.ebuild,v 1.3 2012/01/28 15:31:25 phajdan.jr Exp $
4
5 EAPI=2
6
7 inherit eutils bash-completion-r1
8
9 DESCRIPTION="Script for unpacking various file formats"
10 HOMEPAGE="http://packages.qa.debian.org/u/unp.html"
11 SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${PV/_/$'\x7e'}.tar.bz2"
12 S="${WORKDIR}/${PN}-${PV/_/$'\x7e'}"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ~arm ~hppa ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
17 IUSE="nls"
18
19 DEPEND="nls? ( sys-devel/gettext )"
20
21 RDEPEND="${DEPEND}
22 dev-lang/perl"
23
24 src_compile() {
25 if use nls; then
26 cd po
27 emake
28 fi
29 }
30
31 src_install() {
32 dobin unp || die "dobin failed"
33 dosym /usr/bin/unp /usr/bin/ucat
34 doman debian/unp.1 || die "doman failed"
35 dodoc debian/changelog debian/README.Debian
36 dobashcomp bash_completion.d/unp
37
38 if use nls; then
39 cd po
40 emake DESTDIR="${D}" install
41 fi
42 }

  ViewVC Help
Powered by ViewVC 1.1.20