1 |
commit: 413bad613bd86d73a6888687e338ec31beacecb1 |
2 |
Author: Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 10 11:12:44 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 10 11:12:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413bad61 |
7 |
|
8 |
app-text/psutils: EAPI bump |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
app-text/psutils/psutils-1.17-r3.ebuild | 40 +++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 40 insertions(+) |
14 |
|
15 |
diff --git a/app-text/psutils/psutils-1.17-r3.ebuild b/app-text/psutils/psutils-1.17-r3.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..24f0a285f2f |
18 |
--- /dev/null |
19 |
+++ b/app-text/psutils/psutils-1.17-r3.ebuild |
20 |
@@ -0,0 +1,40 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+inherit toolchain-funcs |
27 |
+ |
28 |
+DESCRIPTION="PostScript Utilities" |
29 |
+HOMEPAGE="http://web.archive.org/web/20110722005140/http://www.tardis.ed.ac.uk/~ajcd/psutils/" |
30 |
+SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.dfsg.orig.tar.gz" |
31 |
+ |
32 |
+LICENSE="psutils" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
35 |
+IUSE="" |
36 |
+ |
37 |
+RDEPEND="" |
38 |
+DEPEND="${RDEPEND} |
39 |
+ dev-lang/perl" |
40 |
+ |
41 |
+S="${WORKDIR}/${P}.orig" |
42 |
+ |
43 |
+src_prepare() { |
44 |
+ eapply "${FILESDIR}/${P}-ldflags.patch" |
45 |
+ eapply "${FILESDIR}/${P}-no-fixmacps.patch" |
46 |
+ sed \ |
47 |
+ -e "s:/usr/local:\$(DESTDIR)${EPREFIX}/usr:" \ |
48 |
+ "${S}/Makefile.unix" > "${S}/Makefile" |
49 |
+ default |
50 |
+} |
51 |
+ |
52 |
+src_compile() { |
53 |
+ emake CC="$(tc-getCC)" |
54 |
+} |
55 |
+ |
56 |
+src_install () { |
57 |
+ dodir /usr/{bin,share/man} |
58 |
+ emake DESTDIR="${D}" install |
59 |
+ dodoc README |
60 |
+} |