1 |
commit: 347fa83be09a9a202d7e16e94bca54264b78cc6b |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 10 21:58:39 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 10 21:59:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=347fa83b |
7 |
|
8 |
app-misc/ondir: version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.28, Repoman-2.3.9 |
11 |
|
12 |
app-misc/ondir/Manifest | 1 + |
13 |
app-misc/ondir/ondir-0.2.4.ebuild | 44 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/app-misc/ondir/Manifest b/app-misc/ondir/Manifest |
17 |
index 2ad9659cf95..0cc2e1a4bc8 100644 |
18 |
--- a/app-misc/ondir/Manifest |
19 |
+++ b/app-misc/ondir/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ondir-0.2.2.tar.gz 20138 BLAKE2B 3724b8d356cec16e1f60ec49574e2f688d4f7456f48f1d909402e8436f588d9617c827eda9a74c1b930d2538fe8c9d1372a1d222124d8f7b863bf8e895cfaa25 SHA512 5c2c53532934b25d2a170c619d067c369b6acf2ef3e0a87607619613dcc0bbfc570937fb91cdc5df3f22ae0453b5a5d00edd57cd1b852f7a076c15b96c45d4dd |
22 |
+DIST ondir-0.2.4.tar.gz 52860 BLAKE2B e9111f9a64d8d7393d9a8e48d5dc66d5814995ae1dbd2f577538a03021c1b1b92af43acbd0ab9cb24ab29ba16c50d5752a9442689effc62bd8c13b6fe11a4785 SHA512 f59a823807f86ce2992aaf5fb174ddea222b02ed18e1289ca450179bd090892f1467072dfcec97ce219e216c055781ea7a1a05bb9402276fb9404a57f42ddb52 |
23 |
|
24 |
diff --git a/app-misc/ondir/ondir-0.2.4.ebuild b/app-misc/ondir/ondir-0.2.4.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..2f51ec18dee |
27 |
--- /dev/null |
28 |
+++ b/app-misc/ondir/ondir-0.2.4.ebuild |
29 |
@@ -0,0 +1,44 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit toolchain-funcs |
36 |
+ |
37 |
+DESCRIPTION="Automatically execute scripts as you traverse directories" |
38 |
+HOMEPAGE="http://swapoff.org/OnDir" |
39 |
+SRC_URI="http://swapoff.org/files/${PN}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="GPL-2" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
44 |
+ |
45 |
+DEPEND="sys-apps/sed" |
46 |
+RDEPEND="${DEPEND}" |
47 |
+ |
48 |
+DOCS=( AUTHORS ChangeLog INSTALL scripts.tcsh scripts.sh ) |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ default |
52 |
+ sed -i \ |
53 |
+ -e "s:\(/man/.*$\):/share\1:g" \ |
54 |
+ -e "s:-g:${CFLAGS}:" Makefile || die "sed Makefile failed" |
55 |
+} |
56 |
+ |
57 |
+src_compile() { |
58 |
+ emake \ |
59 |
+ CC="$(tc-getCC)" \ |
60 |
+ PREFIX="${EPREFIX}/usr" \ |
61 |
+ CONF="${EPREFIX}/etc/ondirrc" \ |
62 |
+ LDFLAGS="${LDFLAGS}" |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ default |
67 |
+ emake \ |
68 |
+ DESTDIR="${D}" \ |
69 |
+ PREFIX="${EPREFIX}/usr" \ |
70 |
+ CONF="${EPREFIX}/etc/ondirrc" \ |
71 |
+ install |
72 |
+ newdoc ondirrc.eg ondirrc.example |
73 |
+} |