summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-07-21 10:31:22 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-07-21 10:31:22 +0200
commit6dc6fa9feec0f947250eaf9c56aed2f695337eb8 (patch)
tree8164d23c05980bd3a98a60ea132aa6adb2d25ec7 /dev-libs/libmpack
parentapp-editors/joe: drop 4.6 (diff)
downloadgentoo-6dc6fa9feec0f947250eaf9c56aed2f695337eb8.tar.gz
gentoo-6dc6fa9feec0f947250eaf9c56aed2f695337eb8.tar.bz2
gentoo-6dc6fa9feec0f947250eaf9c56aed2f695337eb8.zip
dev-libs/libmpack: drop 1.0.5-r2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/libmpack')
-rw-r--r--dev-libs/libmpack/libmpack-1.0.5-r2.ebuild58
1 files changed, 0 insertions, 58 deletions
diff --git a/dev-libs/libmpack/libmpack-1.0.5-r2.ebuild b/dev-libs/libmpack/libmpack-1.0.5-r2.ebuild
deleted file mode 100644
index 2168ecc4727e..000000000000
--- a/dev-libs/libmpack/libmpack-1.0.5-r2.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-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"
-
-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=${EPREFIX}/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=${EPREFIX}/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
-}