summaryrefslogtreecommitdiff
path: root/strata/devtools
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-01-20 10:51:49 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-01-22 17:00:51 +0000
commit3174f8fc609a62908757eeb3a8dfcf5bd145934d (patch)
treea2ac5de27056bc5f684b23123b9e552ff0d39a3c /strata/devtools
parent95c31140fced760a5f8c3392b86b54a117f1ac82 (diff)
downloaddefinitions-3174f8fc609a62908757eeb3a8dfcf5bd145934d.tar.gz
Move some tools into newly created devtools stratum
Collect tools which nothing build depends on into same stratum to reduce unnecessary rebuilding.
Diffstat (limited to 'strata/devtools')
-rw-r--r--strata/devtools/screen.morph11
-rw-r--r--strata/devtools/vim.morph10
2 files changed, 21 insertions, 0 deletions
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