Merge pull request #1311 from vwegert/add-libfole-2

added ebuilds for dev-libs/libfole from libyal
This commit is contained in:
Anton Bolshakov 2023-01-27 12:30:03 +08:00 committed by GitHub
commit 28dd553200
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 104 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST libfole-alpha-20170502.tar.gz 493376 BLAKE2B 6b43e87e0590a277c58ece498bafc5c58fea6438c76d49f81bd4b7e670e3c396b0a0ea68dec50e36b8c041da29df7237b51d685b5ea09e74cec2560f69264b33 SHA512 6bf08293f8c05073b469b477f1dc838ed6b420ae74c92186dfa1ae9dbb92c448f7d2b58a99e8a005de9bb18656943852e46418f68095fb33bb2da16e55561b43
DIST libfole-alpha-20220115.tar.gz 506068 BLAKE2B b5dddfcb17466ae3d7a61916a79dc273a21a9edb7d66940277e34594b123a2e4c6b5721ec82f99e3acbd572ecdc94ea761f654a40c300fc4adb493667b71fbee SHA512 1f950e9ccd1afc8064223edf629d358599f743c6f7911425593033ab782542a09c3afedbed36ce244da6686fec97d4bd7091395cdd01848147844757cae199db

View file

@ -0,0 +1,47 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Library for Object Linking and Embedding (OLE) data types"
HOMEPAGE="https://github.com/libyal/libfole"
SRC_URI="https://github.com/libyal/libfole/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls debug"
DEPEND="
nls? (
virtual/libiconv
virtual/libintl
)
dev-libs/libcerror[nls=]
"
RDEPEND="
${DEPEND}
"
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable debug verbose-output ) \
$(use_enable debug debug-output ) \
}
src_install() {
default
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
find "${ED}" -name '*.la' -delete || die
}

View file

@ -0,0 +1,47 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Library for Object Linking and Embedding (OLE) data types"
HOMEPAGE="https://github.com/libyal/libfole"
SRC_URI="https://github.com/libyal/libfole/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls debug"
DEPEND="
nls? (
virtual/libiconv
virtual/libintl
)
dev-libs/libcerror[nls=]
"
RDEPEND="
${DEPEND}
"
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable debug verbose-output ) \
$(use_enable debug debug-output ) \
}
src_install() {
default
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
find "${ED}" -name '*.la' -delete || die
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
</pkgmetadata>