From 3174f8fc609a62908757eeb3a8dfcf5bd145934d Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Tue, 20 Jan 2015 10:51:49 +0000 Subject: Move some tools into newly created devtools stratum Collect tools which nothing build depends on into same stratum to reduce unnecessary rebuilding. --- strata/devtools/screen.morph | 11 +++++++++++ strata/devtools/vim.morph | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 strata/devtools/screen.morph create mode 100644 strata/devtools/vim.morph (limited to 'strata/devtools') diff --git a/strata/devtools/screen.morph b/strata/devtools/screen.morph new file mode 100644 index 00000000..0b23c5d4 --- /dev/null +++ b/strata/devtools/screen.morph @@ -0,0 +1,11 @@ +name: screen +kind: chunk +description: A terminal multiplexer and sanity tool for many +max-jobs: 1 +configure-commands: +- cd ./src && sh autogen.sh +- cd ./src && ./configure --prefix="$PREFIX" +build-commands: +- cd ./src && make +install-commands: +- cd ./src && make DESTDIR="$DESTDIR" install diff --git a/strata/devtools/vim.morph b/strata/devtools/vim.morph new file mode 100644 index 00000000..58e1403f --- /dev/null +++ b/strata/devtools/vim.morph @@ -0,0 +1,10 @@ +name: vim +kind: chunk +build-system: autotools +configure-commands: +- echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >>src/feature.h +- ./configure --prefix="$PREFIX" --enable-multibyte +install-commands: +- make DESTDIR="$DESTDIR" install +- mkdir -p "$DESTDIR"/etc +- install -m 644 runtime/vimrc_example.vim "$DESTDIR"/etc/vimrc -- cgit v1.2.1