summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/boxes')
-rw-r--r--app-misc/boxes/Manifest1
-rw-r--r--app-misc/boxes/boxes-1.1.2-r1.ebuild41
-rw-r--r--app-misc/boxes/metadata.xml8
3 files changed, 50 insertions, 0 deletions
diff --git a/app-misc/boxes/Manifest b/app-misc/boxes/Manifest
new file mode 100644
index 000000000000..33d89a2cb62f
--- /dev/null
+++ b/app-misc/boxes/Manifest
@@ -0,0 +1 @@
+DIST boxes-1.1.2.tar.gz 101658 SHA256 4d5e536be91b476ee48640bef9122f3114b16fe2da9b9906947308b94682c5fe SHA512 10efb5f62d94003532e2f32d6a0f7c76dd86c7cfaf150f35c24516dc6684f5e3909ecd5fd48c1c64f25f874cb1364bdf3d959a2fb837bfe74c2d879a35f443dd WHIRLPOOL 4017bca428dc6d5cd55a3eb240432ef00a468c21d6d3e3a66a8ec51105b5933d8949006cdefe61d9c1689a663afee6cce8b093c6e5a70368bcd23482aa31f0f3
diff --git a/app-misc/boxes/boxes-1.1.2-r1.ebuild b/app-misc/boxes/boxes-1.1.2-r1.ebuild
new file mode 100644
index 000000000000..9fdd532dd4de
--- /dev/null
+++ b/app-misc/boxes/boxes-1.1.2-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Draw any kind of boxes around your text"
+HOMEPAGE="http://boxes.thomasjensen.com/ https://github.com/ascii-boxes/boxes"
+SRC_URI="https://github.com/ascii-boxes/boxes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ~mips ppc ppc64 sparc x86"
+IUSE=""
+
+DEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ "
+
+src_prepare() {
+ append-cflags -Iregexp -I. -ansi
+ append-ldflags -Lregexp
+ sed \
+ -e 's:STRIP=true:STRIP=false:g' \
+ -i src/Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin src/boxes
+ doman doc/boxes.1
+ dodoc README.md
+ insinto /usr/share/boxes
+ doins boxes-config
+}
diff --git a/app-misc/boxes/metadata.xml b/app-misc/boxes/metadata.xml
new file mode 100644
index 000000000000..940c759eeb8f
--- /dev/null
+++ b/app-misc/boxes/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>shell-tools</herd>
+ <upstream>
+ <remote-id type="github">ascii-boxes/boxes</remote-id>
+ </upstream>
+</pkgmetadata>