diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-09-01 02:40:45 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-09-01 02:40:45 -0400 |
commit | e3977113132cecb151e3001bef5320f065948cf5 (patch) | |
tree | c182a92a448ff8a5c9f425c0298c17bf619b4462 /sys-devel/autogen/autogen-5.18.12.ebuild | |
parent | sys-apps/qingy: remove old (diff) | |
download | gentoo-e3977113132cecb151e3001bef5320f065948cf5.tar.gz gentoo-e3977113132cecb151e3001bef5320f065948cf5.tar.bz2 gentoo-e3977113132cecb151e3001bef5320f065948cf5.zip |
sys-devel/autogen: version bump to 5.18.12
Diffstat (limited to 'sys-devel/autogen/autogen-5.18.12.ebuild')
-rw-r--r-- | sys-devel/autogen/autogen-5.18.12.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sys-devel/autogen/autogen-5.18.12.ebuild b/sys-devel/autogen/autogen-5.18.12.ebuild new file mode 100644 index 000000000000..05b31b033134 --- /dev/null +++ b/sys-devel/autogen/autogen-5.18.12.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils toolchain-funcs + +DESCRIPTION="Program and text file generation" +HOMEPAGE="https://www.gnu.org/software/autogen/" +SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="libopts static-libs" + +# This should be guile-1.8+, but upstream has a bug with older versions: +# https://savannah.gnu.org/support/index.php?109051 +RDEPEND=">=dev-scheme/guile-2.0:= + dev-libs/libxml2" +DEPEND="${RDEPEND}" + +src_prepare() { + # https://savannah.gnu.org/support/index.php?109050 + sed -i \ + -e "/--cflags-only-I/s:pkg-config:$(tc-getPKG_CONFIG):" \ + configure || die +} + +src_configure() { + # suppress possibly incorrect -R flag + export ag_cv_test_ldflags= + + econf $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files + + if ! use libopts ; then + rm "${ED}"/usr/share/autogen/libopts-*.tar.gz || die + fi +} |