1 |
commit: b0605337893c81f97a4f94dde98bd27e5ae2b010 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 1 21:05:24 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 1 21:05:24 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0605337 |
7 |
|
8 |
app-misc/boxes: EAPI 6 bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
app-misc/boxes/boxes-1.1.2-r3.ebuild | 39 ++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 39 insertions(+) |
14 |
|
15 |
diff --git a/app-misc/boxes/boxes-1.1.2-r3.ebuild b/app-misc/boxes/boxes-1.1.2-r3.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..737c507427a |
18 |
--- /dev/null |
19 |
+++ b/app-misc/boxes/boxes-1.1.2-r3.ebuild |
20 |
@@ -0,0 +1,39 @@ |
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 flag-o-matic toolchain-funcs |
27 |
+ |
28 |
+DESCRIPTION="Draw any kind of boxes around your text" |
29 |
+HOMEPAGE="http://boxes.thomasjensen.com/ https://github.com/ascii-boxes/boxes" |
30 |
+SRC_URI="https://github.com/ascii-boxes/boxes/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
31 |
+ |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
35 |
+ |
36 |
+DEPEND=" |
37 |
+ sys-devel/flex |
38 |
+ sys-devel/bison" |
39 |
+ |
40 |
+src_prepare() { |
41 |
+ default |
42 |
+ append-cflags -Iregexp -I. -ansi -std=c99 |
43 |
+ append-ldflags -Lregexp |
44 |
+ sed \ |
45 |
+ -e 's:STRIP=true:STRIP=false:g' \ |
46 |
+ -i src/Makefile || die |
47 |
+} |
48 |
+ |
49 |
+src_compile() { |
50 |
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" |
51 |
+} |
52 |
+ |
53 |
+src_install() { |
54 |
+ dobin src/boxes |
55 |
+ doman doc/boxes.1 |
56 |
+ insinto /usr/share |
57 |
+ newins boxes-config boxes |
58 |
+ einstalldocs |
59 |
+} |