diff options
author | Hans de Graaff <hans@degraaff.org> | 2021-07-06 08:34:29 +0200 |
---|---|---|
committer | Hans de Graaff <hans@degraaff.org> | 2021-07-06 08:34:29 +0200 |
commit | 3fe0e780db8c85e50813c350c0f13337c12d690f (patch) | |
tree | c4599b9bd78448b112e969980447d78e07d1383a | |
parent | app-shells/liquidprompt: cleanup (diff) | |
download | graaff-3fe0e780db8c85e50813c350c0f13337c12d690f.tar.gz graaff-3fe0e780db8c85e50813c350c0f13337c12d690f.tar.bz2 graaff-3fe0e780db8c85e50813c350c0f13337c12d690f.zip |
dev-db/MySlowTranCapture: EAPI7; fix CXX
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <hans@degraaff.org>
-rw-r--r-- | dev-db/MySlowTranCapture/Manifest | 2 | ||||
-rw-r--r-- | dev-db/MySlowTranCapture/MySlowTranCapture-0.20110406-r1.ebuild | 41 | ||||
-rw-r--r-- | dev-db/MySlowTranCapture/metadata.xml | 2 |
3 files changed, 43 insertions, 2 deletions
diff --git a/dev-db/MySlowTranCapture/Manifest b/dev-db/MySlowTranCapture/Manifest index b16fb31c..ebd16ac2 100644 --- a/dev-db/MySlowTranCapture/Manifest +++ b/dev-db/MySlowTranCapture/Manifest @@ -1 +1 @@ -DIST MySlowTranCapture-0.20110406.tar.gz 15935 SHA256 441854fdb037f485d358fc8f062e559e52b33fc0c852c48aa0d009982819543d SHA512 4fc2eecd1037e7d5e5d0e39c705d5188a6ecd89571a4dc1c3d18e77e756736b084bb7e7016a35bf861bb95150193f954bd536ede52b40d87b8cce363036c3672 WHIRLPOOL 340fe9fc6d2121ad90d3d2f9a91973ab7a84764adb838d74d3f5f7829ecb1a2a4884ac864da6c0f699fbd6c47ebb5e1f0c02cf56dd32c252af8ca3bcce11aabe +DIST MySlowTranCapture-0.20110406.tar.gz 15935 BLAKE2B 576f0e8fd02dadbfeef19878bc08585175e41ffbd9867607614dd30f13437e65133bfe369d205a68e7f107674ab8d030f9978cb2749f1f1e27463588c6c432a4 SHA512 4fc2eecd1037e7d5e5d0e39c705d5188a6ecd89571a4dc1c3d18e77e756736b084bb7e7016a35bf861bb95150193f954bd536ede52b40d87b8cce363036c3672 diff --git a/dev-db/MySlowTranCapture/MySlowTranCapture-0.20110406-r1.ebuild b/dev-db/MySlowTranCapture/MySlowTranCapture-0.20110406-r1.ebuild new file mode 100644 index 00000000..ec4ef399 --- /dev/null +++ b/dev-db/MySlowTranCapture/MySlowTranCapture-0.20110406-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +GITHUB_USER=yoshinorim +GITHUB_PROJECT=MySlowTranCapture +GITHUB_COMMIT=5c7a311c2ce28bc462e6f4525a3948c9b653da66 + +DESCRIPTION="A tool to print MySQL transactions that take more than <n> milliseconds" +HOMEPAGE="http://yoshinorimatsunobu.blogspot.nl/2011/04/tracking-long-running-transactions-in.html" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +S="${WORKDIR}/${GITHUB_PROJECT}-${GITHUB_COMMIT}" + +RDEPEND="net-libs/libpcap dev-libs/boost" +DEPEND="${RDEPEND}" + +# Makefile does not respect CFLAGS etc. + +src_prepare() { + sed -i -e '/g++/d' Makefile || die + + default +} + +src_compile() { + CXX=$(tc-getCXX) emake +} + +src_install() { + dodoc README + dobin myslowtrancapture +} diff --git a/dev-db/MySlowTranCapture/metadata.xml b/dev-db/MySlowTranCapture/metadata.xml index f9772993..bd70e455 100644 --- a/dev-db/MySlowTranCapture/metadata.xml +++ b/dev-db/MySlowTranCapture/metadata.xml @@ -1,5 +1,5 @@ <?xml version = '1.0' encoding = 'UTF-8'?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer><email>graaff@gentoo.org</email></maintainer> +<maintainer type="person"><email>graaff@gentoo.org</email></maintainer> </pkgmetadata> |