void-packages/srcpkgs/lvm2/device-mapper.template
Juan RP 0da86577ab Changed $replaces to accept pkg patterns, like Add_dependency().
Changed all packages using $replaces to the new format and bump
the revision. Require XBPS utils >= 20100121 for this to work.

--HG--
extra : convert_revision : 7593b3cb7465f7613f48aba0f2e86cdcd5430ac0
2010-01-21 03:33:26 +01:00

21 lines
640 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"
revision=4
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
}