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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Nov 14 15:18:38 2014 UTC (3 years, 10 months ago) by hanno
Branch: MAIN
CVS Tags: HEAD
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=5
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 TEMP_PV="${PV/_pre/$'\x7e'pre}"
12 MY_PV="${TEMP_PV/_p/+nmu}"
13 SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${MY_PV}.tar.bz2"
14 S="${WORKDIR}/${PN}-${MY_PV}"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
19 IUSE="nls"
20
21 DEPEND="nls? ( sys-devel/gettext )"
22
23 RDEPEND="${DEPEND}
24 dev-lang/perl"
25
26 src_prepare() {
27 epatch "${FILESDIR}/${P}-remove-deprecated-have.diff"
28 }
29
30 src_compile() {
31 if use nls; then
32 cd po
33 emake
34 fi
35 }
36
37 src_install() {
38 dobin unp || die "dobin failed"
39 dosym /usr/bin/unp /usr/bin/ucat
40 doman debian/unp.1 || die "doman failed"
41 dodoc debian/changelog debian/README.Debian
42 dobashcomp bash_completion.d/unp
43
44 if use nls; then
45 cd po
46 emake DESTDIR="${D}" install
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20