void-packages/srcpkgs/lvm2/device-mapper.template
Juan RP 544f75e40a lvm2: update to 2.02.60.
--HG--
extra : convert_revision : 562d156e6c2a8e0ac433fdf299172e40847a2ea2
2010-01-25 07:31:37 +01:00

20 lines
629 B
Text

# Template file for 'device-mapper'
#
short_desc="Device Mapper userspace library and tools"
long_desc="
This package contains the supporting userspace utility, dmsetup,
for the kernel device-mapper and its required library, libdevmapper."
replaces="lvm2-device-mapper>=0"
Add_dependency run glibc
Add_dependency run readline
Add_dependency run ncurses-libs
do_install()
{
mkdir -p ${DESTDIR}/sbin ${DESTDIR}/lib ${DESTDIR}/usr/share/man/man8
mv ${SRCPKGDESTDIR}/sbin/dm* ${DESTDIR}/sbin
mv ${SRCPKGDESTDIR}/lib/libdevmapper.so.* ${DESTDIR}/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man8/dm* ${DESTDIR}/usr/share/man/man8
}