commit: 6ce21da9af1d7257836903026d017367db65698e parent ae6115d4ede05d54e700e5cd6faa6173a1de6230 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Fri, 21 Jun 2024 15:03:59 +0200 dev-libs/bearssl: fix SLOTDiffstat:
A | dev-libs/bearssl/bearssl-0.6-r1.ebuild | 52 | ++++++++++++++++++++++++++++++++++++++++++++++++++++ |
D | dev-libs/bearssl/bearssl-0.6.ebuild | 52 | ---------------------------------------------------- |
2 files changed, 52 insertions(+), 52 deletions(-)diff --git a/dev-libs/bearssl/bearssl-0.6-r1.ebuild b/dev-libs/bearssl/bearssl-0.6-r1.ebuild
@@ -0,0 +1,52 @@ +# Copyright 2024 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Implementation of the SSL/TLS protocol in C" +HOMEPAGE="https://bearssl.org/" +SRC_URI="https://bearssl.org/${P}.tar.gz" +LICENSE="MIT" +SLOT="0/${PV%%.*}" +KEYWORDS="~amd64" + +IUSE="static-libs" + +src_compile() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" CFLAGS="$CFLAGS" \ + LD="$(tc-getCC)" LDFLAGS="$CFLAGS" \ + LDDLL="$(tc-getCC)" LDDLLFLAGS="$CFLAGS $LDFLAGS -shared -Wl,-soname,libbearssl.so.${PV%%.*}" \ + D=".so.$PV" +} + +src_test() { + cd "${S}/build" || die + ./testx509 || die + ./testcrypto all || die +} + +src_install() { + libdir="${ED}/usr/$(get_libdir)/" + + dobin build/brssl + + doheader -r inc/* + + mkdir -p "$libdir" || die + cp -f build/libbearssl.so.$PV "$libdir/" || die + ln -s libbearssl.so.$PV "$libdir/libbearssl.so.${PV%%.*}" || die + ln -s libbearssl.so.$PV "$libdir/libbearssl.so" || die + if use static-libs; then + cp -f build/libbearssl.a "$libdir/" || die + fi + + mkdir -p "$libdir/pkgconfig/" || die + sed \ + -e "s;@PREFIX@;${EPREFIX}/usr;" \ + -e "s;@VERSION@;${PV};" \ + "${FILESDIR}/libbearssl.pc.in" > "${libdir}/pkgconfig/libbearssl.pc" || die +}diff --git a/dev-libs/bearssl/bearssl-0.6.ebuild b/dev-libs/bearssl/bearssl-0.6.ebuild
@@ -1,52 +0,0 @@ -# Copyright 2024 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Implementation of the SSL/TLS protocol in C" -HOMEPAGE="https://bearssl.org/" -SRC_URI="https://bearssl.org/${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="static-libs" - -src_compile() { - emake \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" CFLAGS="$CFLAGS" \ - LD="$(tc-getCC)" LDFLAGS="$CFLAGS" \ - LDDLL="$(tc-getCC)" LDDLLFLAGS="$CFLAGS $LDFLAGS -shared -Wl,-soname,libbearssl.so.${PV%%.*}" \ - D=".so.$PV" -} - -src_test() { - cd "${S}/build" || die - ./testx509 || die - ./testcrypto all || die -} - -src_install() { - libdir="${ED}/usr/$(get_libdir)/" - - dobin build/brssl - - doheader -r inc/* - - mkdir -p "$libdir" || die - cp -f build/libbearssl.so.$PV "$libdir/" || die - ln -s libbearssl.so.$PV "$libdir/libbearssl.so.${PV%%.*}" || die - ln -s libbearssl.so.$PV "$libdir/libbearssl.so" || die - if use static-libs; then - cp -f build/libbearssl.a "$libdir/" || die - fi - - mkdir -p "$libdir/pkgconfig/" || die - sed \ - -e "s;@PREFIX@;${EPREFIX}/usr;" \ - -e "s;@VERSION@;${PV};" \ - "${FILESDIR}/libbearssl.pc.in" > "${libdir}/pkgconfig/libbearssl.pc" || die -}