2009-05-13 23:10:47 +00:00
|
|
|
# Template file for 'lvm2'
|
|
|
|
pkgname=lvm2
|
2012-04-20 14:48:21 +00:00
|
|
|
version=2.02.95
|
2012-05-29 13:34:00 +00:00
|
|
|
revision=7
|
2009-05-13 23:10:47 +00:00
|
|
|
wrksrc=LVM2.${version}
|
|
|
|
distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2009-10-06 16:02:51 +00:00
|
|
|
configure_args="--disable-selinux --enable-readline --enable-pkgconfig
|
2012-04-20 14:48:21 +00:00
|
|
|
--enable-fsadm --enable-applib --sbindir=/usr/sbin --libdir=/usr/lib
|
2012-05-10 10:02:21 +00:00
|
|
|
--enable-dmeventd --enable-cmdlib --enable-udev_sync --enable-udev_rules
|
|
|
|
--with-udevdir=/lib/udev/rules.d"
|
2012-05-23 16:26:56 +00:00
|
|
|
depends="bash"
|
2012-05-26 14:07:12 +00:00
|
|
|
makedepends="pkg-config readline-devel libudev-devel>=183"
|
|
|
|
subpackages="liblvm2app liblvm2app-devel device-mapper device-mapper-devel"
|
|
|
|
conf_files="/etc/lvm/lvm.conf"
|
|
|
|
triggers="initramfs-tools"
|
2009-10-03 08:58:22 +00:00
|
|
|
short_desc="Logical Volume Manager 2 utilities"
|
2009-05-13 23:10:47 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-31 14:39:30 +00:00
|
|
|
homepage="http://sourceware.org/lvm2/"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-04-20 14:48:21 +00:00
|
|
|
checksum=0335af36a151dafe5778da55a684546bfb98e7d3193834915b5efe95dbed9125
|
2009-05-13 23:10:47 +00:00
|
|
|
long_desc="
|
|
|
|
LVM2 includes all of the support for handling read/write operations on
|
|
|
|
physical volumes (hard disks, RAID-Systems, magneto optical, etc.,
|
|
|
|
multiple devices (MD), see mdadd(8) or even loop devices, see
|
|
|
|
losetup(8)), creating volume groups (kind of virtual disks) from one
|
|
|
|
or more physical volumes and creating one or more logical volumes
|
|
|
|
(kind of logical partitions) in volume groups."
|
|
|
|
|
2012-02-06 15:32:31 +00:00
|
|
|
post_install() {
|
2011-11-09 18:27:11 +00:00
|
|
|
vmkdir etc/lvm/archive
|
|
|
|
touch ${DESTDIR}/etc/lvm/archive/.owned
|
|
|
|
vmkdir etc/lvm/backup
|
|
|
|
touch ${DESTDIR}/etc/lvm/backup/.owned
|
2009-05-13 23:10:47 +00:00
|
|
|
}
|