1 |
commit: 03e328116a02937579c4182a5ab249a54bcc0a7f |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 22 21:57:51 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 22 21:57:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03e32811 |
7 |
|
8 |
dev-util/lockrun: EAPI 6 bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
11 |
|
12 |
dev-util/lockrun/lockrun-20120508-r1.ebuild | 30 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 30 insertions(+) |
14 |
|
15 |
diff --git a/dev-util/lockrun/lockrun-20120508-r1.ebuild b/dev-util/lockrun/lockrun-20120508-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..1a0c8c9f499 |
18 |
--- /dev/null |
19 |
+++ b/dev-util/lockrun/lockrun-20120508-r1.ebuild |
20 |
@@ -0,0 +1,30 @@ |
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="Lockrun - runs cronjobs with overrun protection" |
29 |
+HOMEPAGE="http://www.unixwiz.net/tools/lockrun.html" |
30 |
+ |
31 |
+LICENSE="public-domain" |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~amd64 ~hppa ~x86" |
34 |
+ |
35 |
+S="${WORKDIR}" |
36 |
+ |
37 |
+src_unpack() { |
38 |
+ cp -v "${FILESDIR}"/${PN}.c-${PV} "${S}"/${PN}.c || die |
39 |
+ cp -v "${FILESDIR}"/${PN}.c-${PV} "${S}"/README || die |
40 |
+} |
41 |
+ |
42 |
+src_compile() { |
43 |
+ emake CC=$(tc-getCC) ${PN} |
44 |
+ sed -i README -e '60q;s|^ \*||g' || die |
45 |
+} |
46 |
+ |
47 |
+src_install () { |
48 |
+ dobin ${PN} |
49 |
+ einstalldocs |
50 |
+} |