Merge pull request #1326 from vwegert/add-libfcrypto-2

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

View file

@ -0,0 +1,2 @@
DIST libfcrypto-alpha-20191231.tar.gz 526680 BLAKE2B f31ca0c12ffe3a6a5ab02d59f932d45fbb8a88dfe68ee7cfe57c4df17f630cb447061fd28763a3f4b3a1f44a909a4d3787c452635e3fc22f9d5ecf9996d43621 SHA512 cdb8c59b969c15f19754779f879f24d5144376bb56a722cc511042ba4fe52fec109f7dcb40ded95a53e78160e62fb9f3ef8ea1713d776ace814f0e0da758fa1a
DIST libfcrypto-alpha-20200104.tar.gz 527702 BLAKE2B 16c68483de30ac634b96200f13537945dd679bf1bf16de8c42a47826d88dd3e61c94d21298966de19670c04f980385a3e93e12b86f90eb13976df14b9611d4dd SHA512 ce51feb272a8a0dc51e54a7fd5e0d6ea6409b003692a59e5d8624bd83dddf8cf383a2ba8d357e54de701953db249865a7bfa42655866776f64fe248fd57e68c1

View file

@ -0,0 +1,45 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Library for encryption formats"
HOMEPAGE="https://github.com/libyal/libfcrypto"
SRC_URI="https://github.com/libyal/libfcrypto/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls"
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) \
}
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,45 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Library for encryption formats"
HOMEPAGE="https://github.com/libyal/libfcrypto"
SRC_URI="https://github.com/libyal/libfcrypto/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls"
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) \
}
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>