diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-07 06:54:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-07 06:54:34 +0000 |
commit | 79713e75fcc5c5cb55d1b1beac008683b57c8805 (patch) | |
tree | 834267dc63ebce08d051205be4b31d26890af868 /dev-libs | |
parent | f986d7fe50cd66c636620a90125850ff8d0f4a1c (diff) |
gentoo auto-resync : 07:01:2024 - 06:54:33
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 97210 -> 97206 bytes | |||
-rw-r--r-- | dev-libs/libelf/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libelf/libelf-0.8.13-r4.ebuild | 63 |
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 14bd6a78d79e..fe80420c0799 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/libelf/Manifest b/dev-libs/libelf/Manifest index 548f04d59cae..a339cb0e0a14 100644 --- a/dev-libs/libelf/Manifest +++ b/dev-libs/libelf/Manifest @@ -1,4 +1,5 @@ AUX libelf-0.8.13-build.patch 1358 BLAKE2B b0a6ea3d29cc508da873b9dcb9c99c171e01d47df4f6c753434f9da04f18aa56314df089fd2dfebca320645a99fa474359f731d315d51989041ccdc4eb997460 SHA512 7971ef661c058d092c7d5c89649c9abdec1b9fea45bb71f442d5a671a754f793b54674a7665614551067733f1c415c4e05be99c7714d78488eb19850a409f98c DIST libelf-0.8.13.tar.gz 148529 BLAKE2B c0364d6a155ec1590c8ef0754ff0989144d2331e99eb2a5208d80259229904a72328733460675e334ce6b26123f1c92d28d5fb9aea1acdff3ea7a16f4b572a09 SHA512 d2a4ea8ccc0bbfecac38fa20fbd96aefa8e86f8af38691fb6991cd9c5a03f587475ecc2365fc89a4954c11a679d93460ee9a5890693112f6133719af3e6582fe EBUILD libelf-0.8.13-r3.ebuild 1198 BLAKE2B c8cb61618ff19d085f6066427295a90241cdf9a8b7f224de194aadbcc43fecc1634bc0b9d45cf07aeabf29c1b3c4a6aef05156781825315f6cc93b0526d207b8 SHA512 d55c1b0107b4344f239fec8b57c99336efe5cf5dab9621a2ed369dedf5a0184288dfe790b6edcf59dd0ba9e0ca9a1d40552a0512f0edf775b55cb62004f40cf6 +EBUILD libelf-0.8.13-r4.ebuild 1358 BLAKE2B c9db3cea09390cc8d246c46130430db10ad74c876ff036e779ef2166179b66f794ad81699202b1bba2c4ee13c1c3f1614d4957db0f953355e5bdd29c52957670 SHA512 cb2b6d6c48a64b434f7e16754edd400fe3d07e810bdd79b396ab9c5a3ef5b74618f0f07fa79795928a33b0ce265a4092d39b27e4adc5d600e0c1f940f3c46862 MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/dev-libs/libelf/libelf-0.8.13-r4.ebuild b/dev-libs/libelf/libelf-0.8.13-r4.ebuild new file mode 100644 index 000000000000..32b59158bf4b --- /dev/null +++ b/dev-libs/libelf/libelf-0.8.13-r4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal toolchain-funcs + +DESCRIPTION="ELF object file access library" +HOMEPAGE=" + https://directory.fsf.org/wiki/Libelf + https://web.archive.org/web/20190203164512/http://www.mr511.de/software/ +" +SRC_URI="http://www.mr511.de/software/${P}.tar.gz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x64-solaris" +IUSE="debug nls" + +RDEPEND="!dev-libs/elfutils" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( sys-devel/gettext )" + +DOCS=( ChangeLog README ) + +MULTILIB_WRAPPED_HEADERS=( /usr/include/libelf/sys_elf.h ) + +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) + +src_prepare() { + default + + eautoreconf +} + +multilib_src_configure() { + # prefix might want to play with this; unfortunately the stupid + # macro used to detect whether we're building ELF is so screwed up + # that trying to fix it is just a waste of time. + export mr_cv_target_elf=yes + + ECONF_SOURCE="${S}" econf \ + $(use_enable nls) \ + --enable-shared \ + $(use_enable debug) +} + +multilib_src_compile() { + emake AR="$(tc-getAR)" +} + +multilib_src_install() { + emake \ + prefix="${ED}/usr" \ + libdir="${ED}/usr/$(get_libdir)" \ + install \ + install-compat \ + -j1 + + find "${D}" -name '*.la' -o -name '*.a' -delete || die +} |