void-packages/srcpkgs/lvm2/template
2012-08-10 05:40:18 +02:00

34 lines
1.4 KiB
Text

# Template file for 'lvm2'
pkgname=lvm2
version=2.02.97
revision=1
wrksrc=LVM2.${version}
build_style=gnu-configure
configure_args="--disable-selinux --enable-readline --enable-pkgconfig
--enable-fsadm --enable-applib --sbindir=/usr/sbin --libdir=/usr/lib
--enable-dmeventd --enable-cmdlib --enable-udev_sync --enable-udev_rules
--with-udevdir=/usr/lib/udev/rules.d"
depends="bash"
makedepends="pkg-config readline-devel libudev-devel>=183"
subpackages="liblvm2app liblvm2app-devel device-mapper device-mapper-devel"
conf_files="/etc/lvm/lvm.conf"
short_desc="Logical Volume Manager 2 utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://sourceware.org/lvm2/"
license="GPL-2, LGPL-2.1"
distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz"
checksum=edda82012e8a9e1f0b00ba5a331468d3e0201992be14c0dbea71bf564a51fc2b
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."
post_install() {
vmkdir etc/lvm/archive
touch ${DESTDIR}/etc/lvm/archive/.owned
vmkdir etc/lvm/backup
touch ${DESTDIR}/etc/lvm/backup/.owned
}