diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/ltrace/ltrace-0.7.3_p4.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/ltrace/ltrace-0.7.3_p4.ebuild')
-rw-r--r-- | dev-util/ltrace/ltrace-0.7.3_p4.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild new file mode 100644 index 000000000000..b8d3442e1c11 --- /dev/null +++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +LTRACE_V=${PV/_p*/} +DB_V=${PV/*_p/} + +DESCRIPTION="trace library calls made at runtime" +HOMEPAGE="https://www.ltrace.org/" +SRC_URI=" + mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}.orig.tar.bz2 + mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}-${DB_V}.debian.tar.gz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug selinux test unwind" + +RDEPEND="dev-libs/elfutils + selinux? ( sys-libs/libselinux ) + unwind? ( sys-libs/libunwind )" +DEPEND="${RDEPEND} + sys-libs/binutils-libs + test? ( dev-util/dejagnu )" + +S=${WORKDIR}/${PN}-${LTRACE_V} + +src_prepare() { + epatch "${WORKDIR}"/debian/patches/[0-9]* + epatch "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649 + epatch "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch + epatch "${FILESDIR}"/${PN}-0.7.3-ia64.patch + sed -i '/^dist_doc_DATA/d' Makefile.am || die + eautoreconf +} + +src_configure() { + ac_cv_header_selinux_selinux_h=$(usex selinux) \ + ac_cv_lib_selinux_security_get_boolean_active=$(usex selinux) \ + econf \ + --disable-werror \ + $(use_enable debug) \ + $(use_with unwind libunwind) +} |