2009-11-30 08:10:34 +01:00
|
|
|
# Template file for 'device-mapper'
|
|
|
|
#
|
2009-10-03 10:58:22 +02:00
|
|
|
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."
|
|
|
|
|
2010-01-21 03:33:26 +01:00
|
|
|
replaces="lvm2-device-mapper>=0"
|
2009-11-22 08:31:44 +01:00
|
|
|
|
2009-10-03 10:58:22 +02:00
|
|
|
Add_dependency run glibc
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2010-04-23 13:54:39 +02:00
|
|
|
mkdir -p ${DESTDIR}/sbin ${DESTDIR}/lib ${DESTDIR}/usr/share/man/man8 \
|
|
|
|
${DESTDIR}/usr/lib
|
2009-10-03 10:58:22 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/sbin/dm* ${DESTDIR}/sbin
|
2010-04-22 15:45:43 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/lib/libdevmapper.so* ${DESTDIR}/lib
|
2010-04-23 13:54:39 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/libdevmapper.so ${DESTDIR}/usr/lib
|
2009-10-03 10:58:22 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man8/dm* ${DESTDIR}/usr/share/man/man8
|
|
|
|
}
|