Merge pull request #1331 from vwegert/add-libftxf-2

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

View file

@ -0,0 +1,2 @@
DIST libftxf-experimental-20180815.tar.gz 1028381 BLAKE2B 150bfb6649d7e2838f57b46af4cb75b2d6477e0a03870fc2ca8b170ca5c1dabebe5e4bb711a8e0a5315ea11ca432c6301766f51e6bb832a5098eaee07a466e65 SHA512 8f384aa38902990b2d1ae7c5efcc8606aad7abd8cad8c04915791551f7ddff020d1bab1ff1004cb9ecffca39cda29af02f1ddadb2a6efcbf01ec847a394da035
DIST libftxf-experimental-20220116.tar.gz 1108484 BLAKE2B 4a12f3eea4eb0042ef72f5a873a61eedbc3d190117b9d6affcf333563472342269534b598779927587f4ed565ac2439bed710de2ba999725cf16599d87c4a8d6 SHA512 620f5e87a9933f5e2cb7f69fc4b55bed6bd0ede194fef4dc7d22fee44b70eb8a2a0015743ee91754f94471ae8e9cc381c0363ab3eb6279a001c12d7be6a56fd9

View file

@ -0,0 +1,52 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Library for Transactional NTFS (TxF) data types"
HOMEPAGE="https://github.com/libyal/libftxf"
SRC_URI="https://github.com/libyal/libftxf/releases/download/${PV}/${PN}-experimental-${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=]
dev-libs/libcnotify[nls=]
dev-libs/libfdatetime[nls=]
dev-libs/libfguid[nls=]
dev-libs/libfusn[nls=]
dev-libs/libuna[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,52 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Library for Transactional NTFS (TxF) data types"
HOMEPAGE="https://github.com/libyal/libftxf"
SRC_URI="https://github.com/libyal/libftxf/releases/download/${PV}/${PN}-experimental-${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=]
dev-libs/libcnotify[nls=]
dev-libs/libfdatetime[nls=]
dev-libs/libfguid[nls=]
dev-libs/libfusn[nls=]
dev-libs/libuna[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>