mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 13:51:00 +02:00
Merge pull request #1287 from vwegert/update-libcaes
added ebuild for dev-libs/libcaes from libyal
This commit is contained in:
commit
e3530b5b65
4 changed files with 146 additions and 0 deletions
2
dev-libs/libcaes/Manifest
Normal file
2
dev-libs/libcaes/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST libcaes-alpha-20220424.tar.gz 924853 BLAKE2B f595e5d97f3253ec2d1f69da177e7babb07d3c57e904b23a174afba20968c74cebb42832ceed20c178204b3583452269c0164c50c9317caeae0b68ccc1726161 SHA512 216fc116b53cf6a012cffd8b1c1f3edc872499e12b03a19b3f5817fde5d5a9b8d92ac7adc5e0bd7cd0c82466013b3142dd338d2e9deaa151e3d79dfeeca50797
|
||||
DIST libcaes-alpha-20220529.tar.gz 932271 BLAKE2B ec216e552991becd636fcd95803a22e6b8ae8735690ac08345e2460762c42d4eaaf0b384737190d9bde80a6b902ebbb99b647993edc029a45038c9bc26ae30c3 SHA512 69c1605bc9163600c1280c8571a7198e224047a1e27263234519770a36c2fd910a1ac3aa11511fa69b739eb8411ef6c1155d8cd19c512f2b570d1ebeb0736f8a
|
||||
68
dev-libs/libcaes/libcaes-20220424.ebuild
Normal file
68
dev-libs/libcaes/libcaes-20220424.ebuild
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit python-single-r1 autotools
|
||||
|
||||
DESCRIPTION="Library to support cross-platform AES encryption"
|
||||
HOMEPAGE="https://github.com/libyal/libcaes"
|
||||
SRC_URI="https://github.com/libyal/libcaes/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="nls python"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/openssl
|
||||
dev-libs/libcerror[nls=]
|
||||
nls? (
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
)
|
||||
python? ( dev-lang/python:* )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
#makefile was created with 1.16, let's regenerate it
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_with nls libiconv-prefix) \
|
||||
$(use_with nls libintl-prefix) \
|
||||
$(use_enable python) \
|
||||
$(use_enable python python3)
|
||||
|
||||
# --disable-shared-libs disable shared library support
|
||||
# not supported in the ebuild at the moment - kind of defeats the entire process
|
||||
|
||||
# --enable-winapi enable WINAPI support for cross-compilation
|
||||
# [default=auto-detect]
|
||||
# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us
|
||||
|
||||
# --enable-openssl-evp-cipher
|
||||
# enable OpenSSL EVP CIPHER support, or no to disable
|
||||
# [default=auto-detect]
|
||||
# --enable-openssl-evp-md enable OpenSSL EVP MD support, or no to disable
|
||||
# [default=auto-detect]
|
||||
# left at default values for the time being
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
68
dev-libs/libcaes/libcaes-20220529.ebuild
Normal file
68
dev-libs/libcaes/libcaes-20220529.ebuild
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit python-single-r1 autotools
|
||||
|
||||
DESCRIPTION="Library to support cross-platform AES encryption"
|
||||
HOMEPAGE="https://github.com/libyal/libcaes"
|
||||
SRC_URI="https://github.com/libyal/libcaes/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="nls python"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/openssl
|
||||
dev-libs/libcerror[nls=]
|
||||
nls? (
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
)
|
||||
python? ( dev-lang/python:* )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
#makefile was created with 1.16, let's regenerate it
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_with nls libiconv-prefix) \
|
||||
$(use_with nls libintl-prefix) \
|
||||
$(use_enable python) \
|
||||
$(use_enable python python3)
|
||||
|
||||
# --disable-shared-libs disable shared library support
|
||||
# not supported in the ebuild at the moment - kind of defeats the entire process
|
||||
|
||||
# --enable-winapi enable WINAPI support for cross-compilation
|
||||
# [default=auto-detect]
|
||||
# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us
|
||||
|
||||
# --enable-openssl-evp-cipher
|
||||
# enable OpenSSL EVP CIPHER support, or no to disable
|
||||
# [default=auto-detect]
|
||||
# --enable-openssl-evp-md enable OpenSSL EVP MD support, or no to disable
|
||||
# [default=auto-detect]
|
||||
# left at default values for the time being
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
8
dev-libs/libcaes/metadata.xml
Normal file
8
dev-libs/libcaes/metadata.xml
Normal 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>
|
||||
Loading…
Reference in a new issue