From 590b9b7b03bf4651e099949e318755af7cfa81b8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 1 Aug 2021 22:03:23 +0100 Subject: gentoo resync : 01.08.2021 --- dev-util/uftrace/Manifest | 2 +- dev-util/uftrace/uftrace-0.10-r1.ebuild | 63 +++++++++++++++++++++++++++++++++ dev-util/uftrace/uftrace-0.10.ebuild | 62 -------------------------------- 3 files changed, 64 insertions(+), 63 deletions(-) create mode 100644 dev-util/uftrace/uftrace-0.10-r1.ebuild delete mode 100644 dev-util/uftrace/uftrace-0.10.ebuild (limited to 'dev-util/uftrace') diff --git a/dev-util/uftrace/Manifest b/dev-util/uftrace/Manifest index 9c830c414d9d..310fc15b4be3 100644 --- a/dev-util/uftrace/Manifest +++ b/dev-util/uftrace/Manifest @@ -1,3 +1,3 @@ DIST uftrace-0.10.tar.gz 1111530 BLAKE2B 29388523e1009276ba4609d85e5979e823d028ff647239aa02ec2cac5ae21c7812c7699d47c09c0b9289a0debb39a2f502615547c8e658a821d5078e3b12c6fe SHA512 788234e4156974a70f06d02527e56e5fac821e8b66363dc5fc55d68797c374043c0b66b18b4ab1488b9647e08969e8dc94a64d6bb1a38ccad4cf98eaecc6e919 -EBUILD uftrace-0.10.ebuild 1240 BLAKE2B ba99f53ac6b6b7e05f827a7d19efc507c31a0adbb9a3891083e823bedf4f5c19be48423dc4f35a41870f736239264736562842f5b681d1df8f2f18e56171d1af SHA512 cda749f52dadbe3a501dabae3b9a9a777183312b8c014b20700dfd73afcf9d82cf2191f22ce41aa8f18e611d1bb0e9a9a6119e737f840809128aa7a00aa9def8 +EBUILD uftrace-0.10-r1.ebuild 1202 BLAKE2B f9349c41687cc23c67ec8a1664074e5df3f2a9bef8cf869490a19d6f2c0c52cab466a8c25074c0eae8374171cb0da8d73daed54ad9a947912dd6562c4409257f SHA512 db312bbf04ae6e25a4a4bd4bb4634c0f824d129acf64224459182e40318475cbed0c9110e5b037f0902001aa808ac6c12a0b45f52ca109e74d7c651b4155e55e MISC metadata.xml 438 BLAKE2B a270f82a149c32758b8d0054b5f1204add5dabd8812ce01e6c9ed9e0a71aa38bfef9def386f8a2c6f67cae59c63e58fbff8b3f00a3cea5a334ee41434f3c6fa1 SHA512 774d0ec195987c0b98467e03a18c1eb4e2880d5c5d63e3864b5aee84981e0539197d74530a64068399dac7c0eb28e7570a0b8242e0ecf049f79d995eab884a8d diff --git a/dev-util/uftrace/uftrace-0.10-r1.ebuild b/dev-util/uftrace/uftrace-0.10-r1.ebuild new file mode 100644 index 000000000000..2b39cc144648 --- /dev/null +++ b/dev-util/uftrace/uftrace-0.10-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( luajit ) + +inherit bash-completion-r1 lua-single toolchain-funcs + +DESCRIPTION="Function (graph) tracer for user-space" +HOMEPAGE="https://github.com/namhyung/uftrace" +SRC_URI="https://github.com/namhyung/uftrace/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="capstone lua" + +REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" + +RESTRICT="test" + +RDEPEND=" + sys-libs/ncurses:= + virtual/libelf:= + capstone? ( dev-libs/capstone:0= ) + lua? ( ${LUA_DEPS} ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + default + sed -i -e "s/ARCH/MYARCH/g" -e "/ldconfig/d" -e "/bash.completion/d" Makefile || die +} + +src_configure() { + local myconf=( + --libdir="${EPREFIX}"/usr/$(get_libdir)/uftrace + $(use_with capstone) + --without-libpython + ) + if use lua && use lua_single_target_luajit; then + myconf+=( + --with-libluajit + ) + else + myconf+=( + --without-libluajit + ) + fi + CC=$(tc-getCC) LD=$(tc-getLD) econf "${myconf[@]}" +} + +src_compile() { + emake V=1 +} + +src_install() { + default + + dodoc doc/*.{md,gif,png} + newbashcomp misc/bash-completion.sh uftrace +} diff --git a/dev-util/uftrace/uftrace-0.10.ebuild b/dev-util/uftrace/uftrace-0.10.ebuild deleted file mode 100644 index 92c30228011d..000000000000 --- a/dev-util/uftrace/uftrace-0.10.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 - -LUA_COMPAT=( luajit ) - -inherit bash-completion-r1 lua-single toolchain-funcs - -DESCRIPTION="Function (graph) tracer for user-space" -HOMEPAGE="https://github.com/namhyung/uftrace" -SRC_URI="https://github.com/namhyung/uftrace/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="bash-completion capstone lua" - -REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" - -RESTRICT="test" - -RDEPEND=" - sys-libs/ncurses:= - virtual/libelf:= - capstone? ( dev-libs/capstone:0= ) - lua? ( ${LUA_DEPS} ) -" -DEPEND="${RDEPEND}" - -src_prepare() { - default - sed -i -e "s/ARCH/MYARCH/g" -e "/ldconfig/d" -e "/bash.completion/d" Makefile || die -} - -src_configure() { - local myconf=( - --libdir="${EPREFIX}"/usr/$(get_libdir)/uftrace - $(use_with capstone) - --without-libpython - ) - if use lua && use lua_single_target_luajit; then - myconf+=( - --with-libluajit - ) - else - myconf+=( - --without-libluajit - ) - fi - CC=$(tc-getCC) LD=$(tc-getLD) econf "${myconf[@]}" -} - -src_compile() { - emake V=1 -} - -src_install() { - default - dodoc doc/*.{md,gif,png} - use bash-completion && newbashcomp misc/bash-completion.sh uftrace -} -- cgit v1.2.3