parlay

yet another gentoo overlay
git clone https://git.parazyd.org/parlay
Log | Files | Refs | README

commit 0826f7828a9e7812b6deb89d32cad0edb162d224
parent 2fb78468de974643659a05f6f267a4c15c24d8f1
Author: parazyd <parazyd@dyne.org>
Date:   Thu, 10 Nov 2016 12:38:05 +0100

dev-util/radare2: Add 0.10.6 with musl support.

Diffstat:
Adev-util/radare2/Manifest | 1+
Adev-util/radare2/files/radare2-0.9.9-nogit.patch | 13+++++++++++++
Adev-util/radare2/radare2-0.10.6-r1.ebuild | 45+++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 59 insertions(+), 0 deletions(-)

diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest @@ -0,0 +1 @@ +DIST radare2-0.10.6.tar.xz 5082028 SHA256 8e887526b22bdf7839fe10779c8da11d6156a5999382c2fa7bf6791a3f6a9d45 SHA512 1e33a831244c8bfc6ab317ed74ec108730f361550f504d48d8783e6c3bfc2ce98e4feac08b37b4b8997f0a83a456fe26685c6f4847798dea841a97b259dcef8b WHIRLPOOL 360d5ec9fd5fa02a7dca12a8bb5f388e1684419d757bd0767f33ec56e60354d3dafbca440e3d0b584d37a42a9aba12e6465f42acab71af2c584c30ccf3bb4f6b diff --git a/dev-util/radare2/files/radare2-0.9.9-nogit.patch b/dev-util/radare2/files/radare2-0.9.9-nogit.patch @@ -0,0 +1,13 @@ +capstone-sync does not work correctly for release tarballs. +It tries to sync/revert from upstream git repo unconditionaly. +diff --git a/shlr/Makefile b/shlr/Makefile +index a1796ce..f8d179a 100644 +--- a/shlr/Makefile ++++ b/shlr/Makefile +@@ -144,5 +144,5 @@ else + + ifeq ($(CS_TAR),) +-capstone: capstone-sync ++capstone: # capstone-sync + + capstone-sync: diff --git a/dev-util/radare2/radare2-0.10.6-r1.ebuild b/dev-util/radare2/radare2-0.10.6-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="Advanced command line hexadecimal editor and more" +HOMEPAGE="http://www.radare.org" +SRC_URI="http://www.radare.org/get/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ssl libressl" + +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:= ) + libressl? ( dev-libs/libressl:= ) + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.9.9-nogit.patch +} + +src_configure() { + econf \ + $(use_with ssl openssl) +} + +src_install() { + # a workaround for unstable $(INSTALL) call, bug #574866 + local d + for d in doc/*; do + if [[ -d $d ]]; then + rm -rfv "$d" || die "failed to delete '$d'" + fi + done + + default +}