blob: 020a1fe7bc6490b8cb62b38ed0b1983926aedea2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm-user/lvm-user-1.0.5.ebuild,v 1.1 2003/09/15 17:46:25 seemant Exp $
inherit flag-o-matic
S=${WORKDIR}/LVM/${PV}
DESCRIPTION="User-land utilities for LVM (Logical Volume Manager) software"
SRC_URI="ftp://ftp.sistina.com/pub/LVM/1.0/lvm_${PV}.tar.gz"
HOMEPAGE="http://www.sistina.com/"
KEYWORDS="x86 amd64 -ppc sparc "
DEPEND="virtual/glibc
virtual/linux-sources"
RDEPEND="virtual/glibc
!sys-apps/lvm2"
LICENSE="GPL-2 | LGPL-2"
SLOT="0"
KS=/usr/src/linux
src_compile() {
addwrite /dev/stderr
filter-flags -fomit-frame-pointer
if [ -f "Makefile" ];then
make clean || die
fi
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
}
|