summaryrefslogtreecommitdiff
path: root/app-misc/boxes
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/boxes')
-rw-r--r--app-misc/boxes/Manifest2
-rw-r--r--app-misc/boxes/boxes-2.2.1.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/app-misc/boxes/Manifest b/app-misc/boxes/Manifest
index 6a28a972e8be..88fbc6123171 100644
--- a/app-misc/boxes/Manifest
+++ b/app-misc/boxes/Manifest
@@ -1,4 +1,6 @@
AUX boxes-2.2.0-fix-clang16-build.patch 309 BLAKE2B cde9c190dfbb57b94a48a8d68d459ccb6521fa2eacd5103e624acc1974346e3ecd3d8ec91431309a7e09d1e421babdac3307f05a9ac081fcffb84d2ff8b184c0 SHA512 84c0f84e3c07094f0e27b1d89a8094d43712c12d6b9bd79586d73440ae92f330eada9bf4d4438bfd7eaa8109f4197d0c8fbb7078f7678a2b5c97d2b87879923f
DIST boxes-2.2.0.tar.gz 230099 BLAKE2B 4adb8ddde85cb31f32e98916d5ea2a57afcaa0470f796ba296cb3b80780f158a24b2bc5e9ba923b6a3b35b8f7781cd6ddacd89abadf6f2c07549be7ffe1458f4 SHA512 534d441c34316572d0c7e89f343a3bc5bb5a8466e4d4ed703fb2d14b714f5a6b224f7b0d408525d492da4610f9c5ffd8508e16d98a0781897567fb4aeb316f39
+DIST boxes-2.2.1.tar.gz 230900 BLAKE2B 65ab0c8ad52d2764279397135b072bfa6f4bf86e465cc3a4778d30c5b19ce2c0d7c5f8636173529eca92754ee16d38b46a83b067b94315b1ea82448e4b1ac0a8 SHA512 0afa115d5ec01944878ef4d8f33e2887d123b172a0589eda53a04ba671916d9ef1d8299f9df9aeac8989807f86ca1b96b1c34aed03856643a89a07586b82e3b6
EBUILD boxes-2.2.0.ebuild 1003 BLAKE2B b93f215cadc9a867cd7012736546a33ebdaf3bde7230c2aacef465e8665436507e630b166056474875d6ec64fe95440a3c83a8a245d8f508793fd09c4952d974 SHA512 b385786a311625049e9665c2412398641de55df257f3b68601b55d8461de44fab2c739c1fad62c72ae3d4288452073255af0481ed6e2c347949a3fab9465673c
+EBUILD boxes-2.2.1.ebuild 962 BLAKE2B c54f5dad0654d38093b2e7453a510e2e7fba59f7a24210fdfbc52c26c3782fdaa66dce1837c7562a72e9596af92ec9fcf3523b7df7eccf503bfa51dac45598df SHA512 34b02921fbec88a965077f4c822584c43cfa08f8ec36ea07ad99c3fa17a616f0ae204207ac638a9b4f7b59209ca098737e0c977e662491b3593b252c6f8c2002
MISC metadata.xml 900 BLAKE2B ed21e2f334f908418be9025531cb81b38eb20c29a2d6824db34b60bc9cab117cf7390c223942b0a97b00a94cbf0a3d56d5991599bdc6ee2ae779cafd2ee9f423 SHA512 ff396d6d3de85f836cd7af967d783ce51ce17f4a542e5a800aec5929f0de1a27eb823014f1452045183eb437c960347c1c120ce38b60bead7f9a38eaef24e261
diff --git a/app-misc/boxes/boxes-2.2.1.ebuild b/app-misc/boxes/boxes-2.2.1.ebuild
new file mode 100644
index 000000000000..fd1e85729afa
--- /dev/null
+++ b/app-misc/boxes/boxes-2.2.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Draw any kind of boxes around your text"
+HOMEPAGE="https://boxes.thomasjensen.com/ https://github.com/ascii-boxes/boxes"
+SRC_URI="https://github.com/ascii-boxes/boxes/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libpcre2[pcre32]
+ dev-libs/libunistring:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ test? ( app-editors/vim-core )
+"
+
+src_prepare() {
+ default
+
+ sed \
+ -e 's:STRIP=true:STRIP=false:g' \
+ -i src/Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS_ADDTL="${CFLAGS}" LDFLAGS_ADDTL="${LDFLAGS}"
+}
+
+src_install() {
+ dobin out/boxes
+ doman doc/boxes.1
+ insinto /usr/share
+ newins boxes-config boxes
+ einstalldocs
+}