diff options
author | Eric Edgar <rocket@gentoo.org> | 2005-03-23 03:27:12 +0000 |
---|---|---|
committer | Eric Edgar <rocket@gentoo.org> | 2005-03-23 03:27:12 +0000 |
commit | 7c11cc9b47ed30bad2655e2ca29e68e054c3481e (patch) | |
tree | b2850d498d1ed58b87c80a0550493e016f511e32 /sys-fs/lvm2 | |
parent | fixed a dep in init (diff) | |
download | gentoo-2-7c11cc9b47ed30bad2655e2ca29e68e054c3481e.tar.gz gentoo-2-7c11cc9b47ed30bad2655e2ca29e68e054c3481e.tar.bz2 gentoo-2-7c11cc9b47ed30bad2655e2ca29e68e054c3481e.zip |
Added new ebuild with local use flag to override the building of lvm2. This allows the binary to be built dynamically.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r-- | sys-fs/lvm2/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/lvm2/files/digest-lvm2-2.00.33-r3 | 1 | ||||
-rw-r--r-- | sys-fs/lvm2/lvm2-2.00.33-r3.ebuild | 39 |
3 files changed, 47 insertions, 1 deletions
diff --git a/sys-fs/lvm2/ChangeLog b/sys-fs/lvm2/ChangeLog index 9e06b7528caa..823dca57282a 100644 --- a/sys-fs/lvm2/ChangeLog +++ b/sys-fs/lvm2/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/lvm2 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.28 2005/03/08 05:30:33 rocket Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.29 2005/03/23 03:27:12 rocket Exp $ + +*lvm2-2.00.33-r3 (22 Mar 2005) + + 22 Mar 2005; Eric Edgar <rocket@gentoo.org> +lvm2-2.00.33-r3.ebuild: + Added new ebuild with local use flag to override the building of lvm2. This + allows the binary to be built dynamically. *lvm2-2.00.33-r2 (07 Mar 2005) diff --git a/sys-fs/lvm2/files/digest-lvm2-2.00.33-r3 b/sys-fs/lvm2/files/digest-lvm2-2.00.33-r3 new file mode 100644 index 000000000000..cb399135b497 --- /dev/null +++ b/sys-fs/lvm2/files/digest-lvm2-2.00.33-r3 @@ -0,0 +1 @@ +MD5 3d151d18304d6e0c7b34afa6f5648609 LVM2.2.00.33.tgz 440444 diff --git a/sys-fs/lvm2/lvm2-2.00.33-r3.ebuild b/sys-fs/lvm2/lvm2-2.00.33-r3.ebuild new file mode 100644 index 000000000000..a900453777a6 --- /dev/null +++ b/sys-fs/lvm2/lvm2-2.00.33-r3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.00.33-r3.ebuild,v 1.1 2005/03/23 03:27:12 rocket Exp $ + +DESCRIPTION="User-land utilities for LVM2 (device-mapper) software." +HOMEPAGE="http://sources.redhat.com/lvm2/" +SRC_URI="ftp://sources.redhat.com/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc64 ~alpha ~hppa" +IUSE="readline nolvmstatic" + +DEPEND=">=sys-fs/device-mapper-1.00.17" +RDEPEND="${DEPEND} + !sys-fs/lvm-user" + +S="${WORKDIR}/${PN/lvm/LVM}.${PV}" + +src_compile() { + # Static compile of lvm2 so that the install described in the handbook works + # http://www.gentoo.org/doc/en/lvm2.xml + # fixes http://bugs.gentoo.org/show_bug.cgi?id=84463 + local myconf + use nolvmstatic || myconf="$(use_enable static_link)" + + econf $(use_enable readline) ${myconf} + emake || die "compile problem" +} + +src_install() { + einstall sbindir="${D}/sbin" staticdir="${D}/sbin" confdir="${D}/etc/lvm" + mv -f "${D}/sbin/lvm.static" "${D}/sbin/lvm" + + dodoc COPYING* INSTALL README VERSION WHATS_NEW doc/*.{conf,c,txt} + insinto /lib/rcscripts/addons + newins ${FILESDIR}/lvm2-start.sh lvm-start.sh + newins ${FILESDIR}/lvm2-stop.sh lvm-stop.sh +} |