dev-cpp/ETL: EAPI7 revbump, improve ebuild
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Sun, 30 Sep 2018 12:13:30 +0000 (14:13 +0200)
committerAaron Bauman <bman@gentoo.org>
Sat, 9 Feb 2019 19:55:03 +0000 (14:55 -0500)
Closes: https://bugs.gentoo.org/663798
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/9031
Signed-off-by: Aaron Bauman <bman@gentoo.org>
dev-cpp/ETL/ETL-0.04.15-r1.ebuild [new file with mode: 0644]

diff --git a/dev-cpp/ETL/ETL-0.04.15-r1.ebuild b/dev-cpp/ETL/ETL-0.04.15-r1.ebuild
new file mode 100644 (file)
index 0000000..98488ac
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Multi-platform class and template library"
+HOMEPAGE="https://www.synfig.org"
+SRC_URI="mirror://sourceforge/synfig/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+       default
+       sed -i -e 's/CXXFLAGS="`echo $CXXFLAGS | sed s:-g::` $debug_flags"//' \
+               -e 's/CFLAGS="`echo $CFLAGS | sed s:-g::` $debug_flags"//'     \
+               m4/subs.m4 || die
+
+       eautoreconf
+}