diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-04 17:52:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-04 17:52:00 +0100 |
commit | dd851ab76c56a249df7a0ec052acd90940bc014f (patch) | |
tree | b9a0f7262f1fadcf70488c6c3c4dc644b502dc52 /dev-libs/libmpack/libmpack-1.0.5-r3.ebuild | |
parent | 713e25c0c3d1e5434ac60ec0549708ec2f744bb4 (diff) |
gentoo auto-resync : 04:10:2023 - 17:51:59
Diffstat (limited to 'dev-libs/libmpack/libmpack-1.0.5-r3.ebuild')
-rw-r--r-- | dev-libs/libmpack/libmpack-1.0.5-r3.ebuild | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild b/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild deleted file mode 100644 index 961da8a30902..000000000000 --- a/dev-libs/libmpack/libmpack-1.0.5-r3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools toolchain-funcs - -DESCRIPTION="Simple implementation of msgpack in C" -HOMEPAGE="https://github.com/libmpack/libmpack" -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" - -PATCHES=( - "${FILESDIR}"/${P}-libtool.patch # 778899 -) - -src_prepare() { - default - - # Respect users CFLAGS - sed -e 's/-ggdb//g' -i Makefile.in || die - sed -e 's/-O3//g' -i .config/release.mk || die - - eautoreconf -} - -src_compile() { - local myemakeargs=( - "VERBOSE=1" - "PREFIX=${EPREFIX}/usr" - "CC=$(tc-getCC)" - "config=release" - "LIBDIR=${EPREFIX}/usr/$(get_libdir)" - "INCDIR=${EPREFIX}/usr/include" - ) - - emake "${myemakeargs[@]}" lib-bin -} - -src_test() { - emake VERBOSE=1 XLDFLAGS="-shared" test -} - -src_install() { - local myemakeargs=( - "VERBOSE=1" - "PREFIX=${EPREFIX}/usr" - "DESTDIR=${D}" - "LIBDIR=${EPREFIX}/usr/$(get_libdir)" - "INCDIR=${EPREFIX}/usr/include" - "XLDFLAGS=-shared" - ) - - emake "${myemakeargs[@]}" install - - if [[ ${CHOST} == *-darwin* ]] ; then - local file="libmpack.0.0.0.dylib" - install_name_tool \ - -id "${EPREFIX}/usr/$(get_libdir)/${file}" \ - "${ED}/usr/$(get_libdir)/${file}" \ - || die "Failed to adjust install_name" - fi - - find "${ED}" -name '*.la' -delete || die -} |