summaryrefslogtreecommitdiff
path: root/repo/lvm2/device-mapper.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/lvm2/device-mapper.xibuild')
-rw-r--r--repo/lvm2/device-mapper.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/lvm2/device-mapper.xibuild b/repo/lvm2/device-mapper.xibuild
new file mode 100644
index 0000000..ed259e6
--- /dev/null
+++ b/repo/lvm2/device-mapper.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+DESC="Device mapper userspace library and tools from LVM2"
+DEPS="lvm2"
+
+package () {
+ install -Dm755 "$BUILD_ROOT"/dmeventd.initd "$PKG_DEST"/etc/init.d/dmeventd
+
+ add_from_main sbin/dmeventd
+ add_from_main "usr/lib/libdevmapper.a"
+ add_from_main "lib/libdevmapper-event.so.*"
+ add_from_main "sbin/dm*"
+ add_from_main "usr/sbin/dm*"
+ add_from_main "lib/libdevmapper.so.*"
+ rm -f "$PKG_DEST"/usr/sbin/dmstats
+
+}