summaryrefslogtreecommitdiff
path: root/chunks/util-linux.morph
diff options
context:
space:
mode:
Diffstat (limited to 'chunks/util-linux.morph')
-rw-r--r--chunks/util-linux.morph15
1 files changed, 15 insertions, 0 deletions
diff --git a/chunks/util-linux.morph b/chunks/util-linux.morph
new file mode 100644
index 00000000..a0fefc0e
--- /dev/null
+++ b/chunks/util-linux.morph
@@ -0,0 +1,15 @@
+name: util-linux
+kind: chunk
+repo: upstream:util-linux
+ref: 462008f79be9e195670b202cb43827b8aeb1e60b
+build-system: autotools
+configure-commands:
+- ./autogen.sh
+- ./configure --prefix="$PREFIX" --disable-use-tty-group
+install-commands:
+- make DESTDIR="$(pwd)/util-linux-tmpdir" install
+- for prog in blkid blockdev cal chrt dmesg fdisk findfs flock fsck hexdump hwclock
+ ipcrm ipcs logger mkswap more mount mountpoint pivot_root readprofile renice script
+ setsid swapoff swapon switch_root umount; do find "$(pwd)/util-linux-tmpdir" -name
+ "$prog" -delete; done
+- cp -a "$(pwd)"/util-linux-tmpdir/* "$DESTDIR"