diff options
author | Alexys Jacob <ultrabug@gentoo.org> | 2011-08-12 10:18:32 +0000 |
---|---|---|
committer | Alexys Jacob <ultrabug@gentoo.org> | 2011-08-12 10:18:32 +0000 |
commit | 1317adde2b52c6cbf859770570a2aa025d11e7fa (patch) | |
tree | 8ba8e231e809c2b9c62d2b0b6bef5f65be15d387 /sys-cluster | |
parent | Fix encoding in ChangeLog (diff) | |
download | gentoo-2-1317adde2b52c6cbf859770570a2aa025d11e7fa.tar.gz gentoo-2-1317adde2b52c6cbf859770570a2aa025d11e7fa.tar.bz2 gentoo-2-1317adde2b52c6cbf859770570a2aa025d11e7fa.zip |
Add static-libs to IUSE, fix #378773.
(Portage version: 2.1.10.9/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/openais/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/openais/openais-1.1.4-r1.ebuild | 46 |
2 files changed, 52 insertions, 1 deletions
diff --git a/sys-cluster/openais/ChangeLog b/sys-cluster/openais/ChangeLog index 9c12519d3fc6..45f2277f6899 100644 --- a/sys-cluster/openais/ChangeLog +++ b/sys-cluster/openais/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/openais # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openais/ChangeLog,v 1.15 2011/08/04 13:37:48 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openais/ChangeLog,v 1.16 2011/08/12 10:18:32 ultrabug Exp $ + +*openais-1.1.4-r1 (12 Aug 2011) + + 12 Aug 2011; Ultrabug <ultrabug@gentoo.org> +openais-1.1.4-r1.ebuild: + Add static-libs to IUSE, fix #378773. 04 Aug 2011; Naohiro Aota <naota@gentoo.org> openais-1.1.4.ebuild: Add ~x86-fbsd keyword diff --git a/sys-cluster/openais/openais-1.1.4-r1.ebuild b/sys-cluster/openais/openais-1.1.4-r1.ebuild new file mode 100644 index 000000000000..8cd19f7e8859 --- /dev/null +++ b/sys-cluster/openais/openais-1.1.4-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openais/openais-1.1.4-r1.ebuild,v 1.1 2011/08/12 10:18:32 ultrabug Exp $ + +EAPI="2" + +inherit autotools base + +DESCRIPTION="Open Application Interface Specification cluster framework" +HOMEPAGE="http://www.openais.org/" +SRC_URI="ftp://ftp:${PN}.org@${PN}.org/downloads/${P}/${P}.tar.gz" + +LICENSE="BSD public-domain" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd" +IUSE="static-libs" + +RDEPEND="sys-cluster/corosync" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +DOCS=( "${S}/AUTHORS" "${S}/README.amf" ) + +src_prepare() { + # respect CFLAGS + sed -i -e "s/\$OPT_CFLAGS \$GDB_FLAGS//" configure.ac || die + # respect LDFLAGS + sed -i -e "s/\$(CFLAGS) -shared/\$(CFLAGS) \$(LDFLAGS) -shared/" \ + services/Makefile.am || die + # don't install docs + sed -i -e "/^dist_doc/d" Makefile.am || die + eautoreconf +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + --docdir=/usr/share/doc/${PF} \ + --localstatedir=/var +} + +src_install() { + base_src_install + rm -rf "${D}"/etc/init.d/openais || die + use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.a || die +} |