* [gentoo-commits] repo/proj/guru:master commit in: app-misc/dbf/
@ 2023-01-24 9:42 Viorel Munteanu
0 siblings, 0 replies; only message in thread
From: Viorel Munteanu @ 2023-01-24 9:42 UTC (permalink / raw
To: gentoo-commits
commit: 68cbe6228acd7ccb62f6b32b1c33a28fcfcba9a7
Author: Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Tue Jan 24 09:17:04 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 09:17:04 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68cbe622
app-misc/dbf: new package, add 0.9.0
Closes: https://bugs.gentoo.org/85553
Signed-off-by: Joe Kappus <joe <AT> wt.gd>
app-misc/dbf/Manifest | 1 +
app-misc/dbf/dbf-0.9.0.ebuild | 50 +++++++++++++++++++++++++++++++++++++++++++
app-misc/dbf/metadata.xml | 14 ++++++++++++
3 files changed, 65 insertions(+)
diff --git a/app-misc/dbf/Manifest b/app-misc/dbf/Manifest
new file mode 100644
index 000000000..208be8e01
--- /dev/null
+++ b/app-misc/dbf/Manifest
@@ -0,0 +1 @@
+DIST dbf-0.9.0.tgz 38031 BLAKE2B 9c8231a83e7ca4710e5b166654da93bb3b5841bfc1ba2f3d772cee40f8415b6dec7182cceedcad9c4641a4be9543c3d426e0428728b3941ea7b359f0cda27ef2 SHA512 0eadd991e4a8d5eb4513df1b3798c085ca21e1a1dfe77e399cc70ff8a605f6044860d9d2e3a36220e92add2f2d68c72f507dd083120752761719ed6a326a4a26
diff --git a/app-misc/dbf/dbf-0.9.0.ebuild b/app-misc/dbf/dbf-0.9.0.ebuild
new file mode 100644
index 000000000..8b8cdfea5
--- /dev/null
+++ b/app-misc/dbf/dbf-0.9.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=8
+
+inherit autotools
+
+MY_COMMIT="8c1df2e694ca81a2c2ff1d7de150629e69092ea1"
+
+DESCRIPTION="Command line tool to read the content of dBASE III, IV, and 5.0 files"
+HOMEPAGE="https://github.com/rollinhand/dbf-core"
+SRC_URI="https://github.com/rollinhand/dbf-core/archive/${MY_COMMIT}.tar.gz -> ${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-perl/XML-Parser
+ dev-libs/libdbf
+ doc? ( app-text/docbook-sgml-utils )
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}-core-${MY_COMMIT}"
+
+src_prepare() {
+ default
+ if use doc; then
+ sed -i -e 's|docbook-to-man|docbook2man|g' man/Makefile.am || die
+ fi
+ eautoreconf
+}
+
+src_configure() {
+ if use doc; then
+ export DOC_TO_MAN=docbook2man
+ fi
+ econf
+ emake
+ if use doc; then
+ mv man/DBF.SECTION man/dbf.1 || die "Error moving man page"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+}
diff --git a/app-misc/dbf/metadata.xml b/app-misc/dbf/metadata.xml
new file mode 100644
index 000000000..74a72ccc3
--- /dev/null
+++ b/app-misc/dbf/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>joe@wt.gd</email>
+ <name>joecool</name>
+</maintainer>
+<upstream>
+ <remote-id type="github">rollinhand/dbf-core</remote-id>
+</upstream>
+<use>
+ <flag name="doc">build manpages</flag>
+</use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-24 9:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-24 9:42 [gentoo-commits] repo/proj/guru:master commit in: app-misc/dbf/ Viorel Munteanu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox