diff options
Diffstat (limited to 'dev-cpp/ETL/ETL-1.2.1.ebuild')
| -rw-r--r-- | dev-cpp/ETL/ETL-1.2.1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-cpp/ETL/ETL-1.2.1.ebuild b/dev-cpp/ETL/ETL-1.2.1.ebuild new file mode 100644 index 00000000..9df7ab45 --- /dev/null +++ b/dev-cpp/ETL/ETL-1.2.1.ebuild @@ -0,0 +1,33 @@ +# By eroen <eroen-overlay@occam.eroen.eu>, 2018 +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. + +EAPI=6 + +inherit autotools + +DESCRIPTION="Header-only library used by synfig" +HOMEPAGE="https://www.synfig.org" +SRC_URI="mirror://sourceforge/synfig/$P.tar.gz" +LICENSE="GPL-2+" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + # build system strips away -g* and -O* flags + sed -e '/CXXFLAGS=.*debug_flags/s@`.*`@$CXXFLAGS@' \ + -e '/CFLAGS=.*debug_flags/s@`.*`@$CFLAGS@' \ + -e '/CXXFLAGS=.*optimization_flags/d' \ + -e '/CFLAGS=.*optimization_flags/d' \ + -i m4/subs.m4 || die + + eautoreconf +} |
