void-packages/srcpkgs/lvm2/template

46 lines
1.6 KiB
Plaintext
Raw Normal View History

# Template file for 'lvm2'
pkgname=lvm2
2012-04-20 16:48:21 +02:00
version=2.02.95
revision=1
wrksrc=LVM2.${version}
distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz"
build_style=gnu-configure
configure_args="--disable-selinux --enable-readline --enable-pkgconfig
2012-04-20 16:48:21 +02:00
--enable-fsadm --enable-applib --sbindir=/usr/sbin --libdir=/usr/lib
--enable-udev_sync --enable-udev_rules --with-udevdir=/lib/udev/rules.d"
short_desc="Logical Volume Manager 2 utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-05-31 16:39:30 +02:00
homepage="http://sourceware.org/lvm2/"
license="GPL-2, LGPL-2.1"
2012-04-20 16:48:21 +02:00
checksum=0335af36a151dafe5778da55a684546bfb98e7d3193834915b5efe95dbed9125
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."
subpackages="liblvm2app liblvm2app-devel device-mapper device-mapper-devel"
conf_files="/etc/lvm/lvm.conf"
triggers="initramfs-tools"
Add_dependency run bash
2012-04-20 16:48:21 +02:00
Add_dependency build pkg-config
Add_dependency build readline-devel
2012-04-20 16:48:21 +02:00
Add_dependency build libudev-devel
2012-02-06 16:32:31 +01:00
post_install() {
2011-11-09 19:27:11 +01:00
local initramfsdir=usr/share/initramfs-tools
2011-11-09 19:27:11 +01:00
vmkdir etc/lvm/archive
touch ${DESTDIR}/etc/lvm/archive/.owned
vmkdir etc/lvm/backup
touch ${DESTDIR}/etc/lvm/backup/.owned
vinstall ${FILESDIR}/lvm2.initramfs-hook 755 \
${initramfsdir}/hooks lvm2
vinstall ${FILESDIR}/lvm2.initramfs-local-top 755 \
${initramfsdir}/scripts/local-top lvm2
}