diff options
Diffstat (limited to 'dev-libs/libksba')
-rw-r--r-- | dev-libs/libksba/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libksba/libksba-1.4.0.ebuild | 33 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/libksba/Manifest b/dev-libs/libksba/Manifest index 0553e4eb7b86..6bf65a804c3a 100644 --- a/dev-libs/libksba/Manifest +++ b/dev-libs/libksba/Manifest @@ -1,4 +1,6 @@ DIST libksba-1.3.5.tar.bz2 620649 BLAKE2B 6ed250684e40b4efcc07a86584adfbc659f886919d0306e82e2275c9acb8a1df698c7cc9a917fa66dd906fe473d14fa29507c03e681aed86286d65d9551cb5f6 SHA512 60179bfd109b7b4fd8d2b30a3216540f03f5a13620d9a5b63f1f95788028708a420911619f172ba57e945a6a2fcd2ef7eaafc5585a0eb2b9652cfadf47bf39a2 +DIST libksba-1.4.0.tar.bz2 651319 BLAKE2B 0e3f49fd0d389d905ff75ddad6ac1f3d158d2d4d9f47d08c14d11e3fdc07aa3f661e7ea53612770269b4e08e7b61af2d83a1679874daa0605638454059cb3321 SHA512 7c1666017ebfa50b5663153dead1e019e0ee342c4f44ee8f644fc749e82dcc983237ef0f557de9de3f7908dc90405d967a4db2e36e04fe0d5a09edf49f8a0c8d EBUILD libksba-1.3.5-r1.ebuild 776 BLAKE2B 9b948e3df0c84119d0c0974a26d4cf459492e282fa5efa49557de21707ef0b0f9897979a3745a9ef62143c0c2d18ab316765df1e5748d4bd93beb40579ac97b8 SHA512 2470eac50d217d0f55aafb00bc7472838d41b908360f82171854b71830c694ab3ea020733fa40c73419517655e921a31cc8dd79c8afdbdb335eb333a014d1da6 EBUILD libksba-1.3.5-r2.ebuild 1040 BLAKE2B 8c46f984ce2c32ef10474865be55b553b43aa17f001b484a82eae18efd0d66f4f7e7c9472c91d3980de836a72c105f1e4e608715405da25bb74e5f43bfc51319 SHA512 372baf48e452491a1e3855c344a8f8b54b5c8d17c9463d48cbacf0303449dea5d3acaa51b7fa4fa269fef80b0a51ddd49288c338d78e645355a565f511947484 +EBUILD libksba-1.4.0.ebuild 1066 BLAKE2B 1e1b1bafe5833bba24cd3d3369be1c70f6ea466d4ff789455eebcb397bd5beb46a057bcf09f93f76271430d13a3c3e3ae1a46eb273f8e7bebc478cc73d6ff8c0 SHA512 216796c77a8b0451f97724e14e9f78223eba29a5327395f843e0b0e33627180850e981dfb1cfb83e34b0458473ae58efcb24ed2d17e688786feab2e1e087ef3c MISC metadata.xml 363 BLAKE2B 47525d43d5882725cae82a4da39f6a4e3f5dfb9918fbd2cc869af4016a41db7768120db58dd68b2fdf6b433b4f571080c96642af30a3399023bedfda72f3cdf8 SHA512 3bda082ad019aac69218fe9211a5a36a43f9f4db2c0017669fd1a4ce73d24f37798c1f3368562e6bb91417fdfff0ed795e1b2684e05a83100a18cd809cc0e396 diff --git a/dev-libs/libksba/libksba-1.4.0.ebuild b/dev-libs/libksba/libksba-1.4.0.ebuild new file mode 100644 index 000000000000..c2943f6574d1 --- /dev/null +++ b/dev-libs/libksba/libksba-1.4.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="X.509 and CMS (PKCS#7) library" +HOMEPAGE="http://www.gnupg.org/related_software/libksba" +SRC_URI="mirror://gnupg/libksba/${P}.tar.bz2" + +LICENSE="LGPL-3+ GPL-2+ GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RDEPEND=">=dev-libs/libgpg-error-1.8" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/bison" + +src_configure() { + local myeconfargs=( + $(use_enable static-libs static) + GPG_ERROR_CONFIG="${EROOT}/usr/bin/${CHOST}-gpg-error-config" + LIBGCRYPT_CONFIG="${EROOT}/usr/bin/${CHOST}-libgcrypt-config" + $("${S}/configure" --help | grep -o -- '--without-.*-prefix') + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + # ppl need to use lib*-config for --cflags and --libs + find "${ED}" -type f -name '*.la' -delete || die +} |