diff options
author | Rob Holland <tigger@gentoo.org> | 2004-09-09 23:39:51 +0000 |
---|---|---|
committer | Rob Holland <tigger@gentoo.org> | 2004-09-09 23:39:51 +0000 |
commit | 557d1b38d6418dd30eed540a014f268b9e6f8d40 (patch) | |
tree | 417aea168efa5a12e9999f4b3bc484caf323d7e2 /sys-fs | |
parent | damnit pkg_setup! foiled again!! (diff) | |
download | historical-557d1b38d6418dd30eed540a014f268b9e6f8d40.tar.gz historical-557d1b38d6418dd30eed540a014f268b9e6f8d40.tar.bz2 historical-557d1b38d6418dd30eed540a014f268b9e6f8d40.zip |
Added a static use flag which installs a statically linked lvm rather than a dynamic one (everything stays in the same place, there is no lvm.static file installed). part of #44091. Thanks to Sascha Silbe for offering patches, but I choose to fix it differently.
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/lvm2/ChangeLog | 10 | ||||
-rw-r--r-- | sys-fs/lvm2/Manifest | 6 | ||||
-rw-r--r-- | sys-fs/lvm2/files/digest-lvm2-2.00.15-r1 | 1 | ||||
-rw-r--r-- | sys-fs/lvm2/lvm2-2.00.15-r1.ebuild | 40 |
4 files changed, 54 insertions, 3 deletions
diff --git a/sys-fs/lvm2/ChangeLog b/sys-fs/lvm2/ChangeLog index 0c06ac492228..b95969c5deeb 100644 --- a/sys-fs/lvm2/ChangeLog +++ b/sys-fs/lvm2/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-fs/lvm2 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.17 2004/09/03 19:16:59 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.18 2004/09/09 23:39:51 tigger Exp $ + +*lvm2-2.00.15-r1 (10 Sep 2004) + + 10 Sep 2004; Rob Holland <tigger@gentoo.org> +lvm2-2.00.15-r1.ebuild: + Added a static use flag which installs a statically linked lvm rather than a + dynamic one (everything stays in the same place, there is no lvm.static file + installed). part of #44091. Thanks to Sascha Silbe for offering patches, but I + choose to fix it differently. 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> lvm2-2.00.15.ebuild: diff --git a/sys-fs/lvm2/Manifest b/sys-fs/lvm2/Manifest index 9c0673f4009a..c96ebff90237 100644 --- a/sys-fs/lvm2/Manifest +++ b/sys-fs/lvm2/Manifest @@ -1,6 +1,8 @@ -MD5 a22288841a8b83f36e2a47d9ac2306a8 ChangeLog 3746 -MD5 a2e1b9e13538302bfd5fdc487aae6135 lvm2-2.00.08.ebuild 804 MD5 cbf340449ed0e63734742501bfd61404 lvm2-2.00.15.ebuild 851 +MD5 a2e1b9e13538302bfd5fdc487aae6135 lvm2-2.00.08.ebuild 804 +MD5 640084cc0f4927daedde7f419ac6a3bd lvm2-2.00.15-r1.ebuild 1181 +MD5 2ccc6934a18dbe21a3bd417eaff4e2c3 ChangeLog 4120 MD5 8ef457f9ac46b73b855b4a4e5ff9d7d3 metadata.xml 243 +MD5 0409dfc70844e92c416235b013569411 files/digest-lvm2-2.00.15-r1 61 MD5 7d15c279aadf5df9c1486c878916c893 files/digest-lvm2-2.00.08 61 MD5 0409dfc70844e92c416235b013569411 files/digest-lvm2-2.00.15 61 diff --git a/sys-fs/lvm2/files/digest-lvm2-2.00.15-r1 b/sys-fs/lvm2/files/digest-lvm2-2.00.15-r1 new file mode 100644 index 000000000000..1f8ae6c41286 --- /dev/null +++ b/sys-fs/lvm2/files/digest-lvm2-2.00.15-r1 @@ -0,0 +1 @@ +MD5 9b8496b17e6606de662fbbb90520ba33 LVM2.2.00.15.tgz 330538 diff --git a/sys-fs/lvm2/lvm2-2.00.15-r1.ebuild b/sys-fs/lvm2/lvm2-2.00.15-r1.ebuild new file mode 100644 index 000000000000..db3085f95fb5 --- /dev/null +++ b/sys-fs/lvm2/lvm2-2.00.15-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.00.15-r1.ebuild,v 1.1 2004/09/09 23:39:51 tigger 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" +IUSE="static" + +DEPEND=">=sys-libs/device-mapper-1.00.17" +RDEPEND="${DEPEND} + !sys-fs/lvm-user" + +S="${WORKDIR}/${PN/lvm/LVM}.${PV}" + +src_unpack() { + unpack ${A} + cd ${S} + + use static && sed -i -e 's/TARGETS += lvm.static/TARGETS = .commands lvm-static/' \ + -e 's/^install_tools_static:/install_tools_unused:/' \ + -e 's/^install_tools_dynamic: lvm/install_tools_static: lvm.static/' \ + -e 's/lvm \\$/lvm.static \\/' tools/Makefile.in || die "sed failed" +} + + +src_compile() { + econf $(use_enable static static_link) || die "econf failed" + + emake || die "compile problem" +} + +src_install() { + einstall sbindir="${D}/sbin" confdir="${D}/etc/lvm" + dodoc COPYING* INSTALL README VERSION WHATS_NEW doc/*.{conf,c,txt} +} |