void-packages/srcpkgs/lvm2/device-mapper.template
Juan RP 6ad124b68b lvm2: move so symlinks into main pkg.
--HG--
extra : convert_revision : bd98f45d4205f0b96984d51355ee299e3138d7f7
2010-04-23 13:54:39 +02:00

23 lines
726 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."
revision=2
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 \
${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/sbin/dm* ${DESTDIR}/sbin
mv ${SRCPKGDESTDIR}/lib/libdevmapper.so* ${DESTDIR}/lib
mv ${SRCPKGDESTDIR}/usr/lib/libdevmapper.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man8/dm* ${DESTDIR}/usr/share/man/man8
}