From 7373d6f51fc587c1fd312020025a6fa5d740c46c Mon Sep 17 00:00:00 2001
From: Sam Thursfield <sam.thursfield@codethink.co.uk>
Date: Wed, 24 May 2017 16:33:10 +0100
Subject: Add the newly converted-to-BuildStream definitions

This is not a conversion of all systems, just a subset.
---
 elements/devtools/nano.bst | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 elements/devtools/nano.bst

(limited to 'elements/devtools/nano.bst')

diff --git a/elements/devtools/nano.bst b/elements/devtools/nano.bst
new file mode 100644
index 00000000..bf38217f
--- /dev/null
+++ b/elements/devtools/nano.bst
@@ -0,0 +1,24 @@
+kind: autotools
+depends:
+- core.bst
+- python2-core.bst
+- docutils.bst
+sources:
+- kind: git
+  url: upstream:nano-tarball
+  track: baserock/morph
+  ref: fb040ea36cb8e2158ccd9100600652f94ae90af1
+config:
+  configure-commands:
+  - ./configure --prefix="%{prefix}" --sysconfdir=/etc
+  post-install-commands:
+  - |
+    cat <<EOF >> nanorc
+    set smooth
+    include /usr/share/nano/c.nanorc
+    include /usr/share/nano/patch.nanorc
+    include /usr/share/nano/python.nanorc
+    include /usr/share/nano/sh.nanorc
+    EOF
+  - mkdir -p "%{install-root}"/etc
+  - install -m 644 nanorc "%{install-root}"/etc/nanorc
-- 
cgit v1.2.1

