From ca9f2a4cb0d92dc109c2754a4354e621eab1c66b Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Wed, 9 Feb 2022 20:58:47 +0100 Subject: dev-libs/libmpack: drop 1.0.5 Signed-off-by: Conrad Kostecki --- dev-libs/libmpack/libmpack-1.0.5.ebuild | 62 --------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 dev-libs/libmpack/libmpack-1.0.5.ebuild (limited to 'dev-libs/libmpack') diff --git a/dev-libs/libmpack/libmpack-1.0.5.ebuild b/dev-libs/libmpack/libmpack-1.0.5.ebuild deleted file mode 100644 index 3b35596600f3..000000000000 --- a/dev-libs/libmpack/libmpack-1.0.5.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit 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" - -DEPEND="" -RDEPEND="${DEPEND}" -BDEPEND="" - -src_prepare() { - default - - # Make compiling verbose - sed -e 's/@$(LIBTOOL)/$(LIBTOOL)/g' -i Makefile || die - - # Respect users CFLAGS - sed -e 's/-ggdb//g' -i Makefile || die - sed -e 's/-O3//g' -i .config/release.mk || die -} - -src_compile() { - local myemakeargs=( - "PREFIX=/usr" - "CC=$(tc-getCC)" - "config=release" - "LIBDIR=/usr/$(get_libdir)" - ) - - emake "${myemakeargs[@]}" lib-bin -} - -src_test() { - emake XLDFLAGS="-shared" test -} - -src_install() { - local myemakeargs=( - "PREFIX=/usr" - "DESTDIR=${ED}" - "LIBDIR=/usr/$(get_libdir)" - "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 -} -- cgit v1.2.3-65-gdbad