summaryrefslogtreecommitdiff
path: root/core/util-linux.morph
diff options
context:
space:
mode:
Diffstat (limited to 'core/util-linux.morph')
-rw-r--r--core/util-linux.morph22
1 files changed, 22 insertions, 0 deletions
diff --git a/core/util-linux.morph b/core/util-linux.morph
new file mode 100644
index 00000000..7ce1eac3
--- /dev/null
+++ b/core/util-linux.morph
@@ -0,0 +1,22 @@
+name: core/util-linux.morph
+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"
+build_depends:
+- core/autoconf.morph
+- core/automake.morph
+- core/gettext.morph
+- core/git.morph
+- core/libtool.morph
+- core/pkg-config.morph