diff options
author | Jon Nelson <jnelson@gentoo.org> | 2002-06-24 13:01:44 +0000 |
---|---|---|
committer | Jon Nelson <jnelson@gentoo.org> | 2002-06-24 13:01:44 +0000 |
commit | acb8f343c4ce23626fbb06982490c1b76bf5c457 (patch) | |
tree | 9b46925a7c800c311a1f4f146195286fa23b110f /sys-apps/lvm-user/lvm-user-1.0.4.ebuild | |
parent | undo my oops! (diff) | |
download | gentoo-2-acb8f343c4ce23626fbb06982490c1b76bf5c457.tar.gz gentoo-2-acb8f343c4ce23626fbb06982490c1b76bf5c457.tar.bz2 gentoo-2-acb8f343c4ce23626fbb06982490c1b76bf5c457.zip |
add lvm-user 1.0.4
Diffstat (limited to 'sys-apps/lvm-user/lvm-user-1.0.4.ebuild')
-rw-r--r-- | sys-apps/lvm-user/lvm-user-1.0.4.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sys-apps/lvm-user/lvm-user-1.0.4.ebuild b/sys-apps/lvm-user/lvm-user-1.0.4.ebuild new file mode 100644 index 000000000000..5f50630d35dd --- /dev/null +++ b/sys-apps/lvm-user/lvm-user-1.0.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lvm-user/lvm-user-1.0.4.ebuild,v 1.1 2002/06/24 13:01:44 jnelson Exp $ + +NV=1.0.4 +S=${WORKDIR}/LVM/${NV} +DESCRIPTION="User-land utilities for LVM (Logical Volume Manager) software" +SRC_URI="ftp://ftp.sistina.com/pub/LVM/1.0/lvm_${NV}.tar.gz" +HOMEPAGE="http://www.sistina.com/" + +DEPEND="virtual/glibc + virtual/linux-sources" +RDEPEND="virtual/glibc" +LICENSE="GPL-2 LGPL" +SLOT="0" + +KS=/usr/src/linux + +src_compile() { + cd ${S} + #This ebuild doesn't like this opt setting; closes bug #598 + export CFLAGS="${CFLAGS/-fomit-frame-pointer/}" + [ -f "Makefile" ] && ( make clean || die ) + CFLAGS="${CFLAGS} -I${KS}/include" \ + ./configure --prefix=/ \ + --mandir=/usr/share/man \ + --with-kernel_dir="${KS}" || die + make || die +} + +src_install() { + cd ${S}/tools + CFLAGS="${CFLAGS} -I${KS}/include" \ + make install \ + -e prefix=${D} \ + mandir=${D}/usr/share/man \ + sbindir=${D}/sbin \ + libdir=${D}/lib || die + #no need for a static library in /lib + dodir /usr/lib + mv ${D}/lib/*.a ${D}/usr/lib + cd ${S} + dodoc ABSTRACT CHANGELOG CONTRIBUTORS COPYING COPYING.LIB KNOWN_BUGS FAQ INSTALL LVM-HOWTO README TODO WHATSNEW +} + |