dev-libs/libdbf: new package, add 0.0.1

Signed-off-by: Joe Kappus <joe@wt.gd>
This commit is contained in:
Joe Kappus
2023-01-24 04:15:45 -05:00
parent ac8cc04f60
commit 02384611f1
3 changed files with 57 additions and 0 deletions

1
dev-libs/libdbf/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST libdbf-0.0.1.tgz 66443 BLAKE2B 543aff47c42d19dbe738fa50fe65dd6914a43695851395cf340f53718022e229896c6651f8a5cef8f0a46226efa91563d64ec072dbd1546997c729eca34f67dd SHA512 39df9e958582f224480bdf3b8afd9683427c090e252273004909af0443fddcc149b4dcfd3a09291c9b8786c096ce68cae3310dc692f112f102e51061a68b53f2

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2023 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=8
inherit autotools
MY_COMMIT="d86e1dfb1e70f61b9227817dbccd20955cd8a86a"
DESCRIPTION="Library to read the content of dBASE III, IV, and 5.0 files"
HOMEPAGE="https://github.com/rollinhand/libdbf"
SRC_URI="https://github.com/rollinhand/libdbf/archive/${MY_COMMIT}.tar.gz -> ${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND=""
DEPEND="${RDEPEND}
dev-perl/XML-Parser
doc? ( app-text/docbook-sgml-utils )
virtual/pkgconfig"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
src_prepare() {
default
eautoreconf
}
src_configure() {
if use doc; then
export DOC_TO_MAN=docbook2man
fi
econf
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
}

View File

@@ -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/libdbf</remote-id>
</upstream>
<use>
<flag name="doc">Include documentation</flag>
</use>
</pkgmetadata>