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