Added device-mapper-1.02.31 template.
--HG-- extra : convert_revision : 822ff715ec3eacd128b2a67b79b8cbdf0e7a68c8
This commit is contained in:
parent
db0f4a233b
commit
92ae29ee6c
2 changed files with 31 additions and 0 deletions
2
templates/device-mapper/depends
Normal file
2
templates/device-mapper/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=1.02.31
|
||||||
|
api_depends=${abi_depends}
|
29
templates/device-mapper/template
Normal file
29
templates/device-mapper/template
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Template file for 'device-mapper'
|
||||||
|
pkgname=device-mapper
|
||||||
|
version=1.02.31
|
||||||
|
_lvm_version=2.02.45
|
||||||
|
wrksrc=LVM2.${_lvm_version}
|
||||||
|
distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${_lvm_version}.tgz"
|
||||||
|
build_style=gnu_configure
|
||||||
|
configure_args="--exec-prefix= --disable-selinux"
|
||||||
|
make_build_args="device-mapper"
|
||||||
|
make_install_target="sbindir=${XBPS_DESTDIR}/$pkgname-$version/sbin
|
||||||
|
libdir=$XBPS_DESTDIR/$pkgname-$version/lib install_device-mapper"
|
||||||
|
short_desc="Device Mapper userspace library and tools"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=2ad7490f5747ea8547ddfbf89256549fcdcffb990df2f3cbdea84d985887ecb8
|
||||||
|
long_desc="
|
||||||
|
This package contains the supporting userspace utility, dmsetup,
|
||||||
|
for the kernel device-mapper and its required library, libdevmapper."
|
||||||
|
|
||||||
|
Add_dependency full glibc
|
||||||
|
Add_dependency full readline
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
# Install static lib and pkgconfig file.
|
||||||
|
install -D -m644 $wrksrc/libdm/ioctl/libdevmapper.a \
|
||||||
|
${DESTDIR}/usr/lib/libdevmapper.a
|
||||||
|
install -D -m644 $wrksrc/libdm/libdevmapper.pc \
|
||||||
|
${DESTDIR}/usr/lib/pkgconfig/libdevmapper.pc
|
||||||
|
}
|
Loading…
Reference in a new issue