summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-08-15 17:02:20 +0100
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-08-15 17:02:20 +0100
commitbf32f1769e9895f8546570f0c841a945c93a5b22 (patch)
tree0987a2bf5d58d27e325237c9a472021ca7afd266
parent803387f4cd792982b86d45796fbb4df559d9db44 (diff)
downloadattr-baserock/morph.tar.gz
Convert and fix attr.morph to YAMLbaserock/morph
-rw-r--r--attr.morph32
1 files changed, 14 insertions, 18 deletions
diff --git a/attr.morph b/attr.morph
index 2bb14e3..59158a9 100644
--- a/attr.morph
+++ b/attr.morph
@@ -1,18 +1,14 @@
-{
- "name": "attr",
- "kind": "chunk",
- "comments": [
- "The DESTDIR patch idea comes from: http://pkgs.fedoraproject.org/gitweb/?p=attr.git;a=blob_plain;f=attr-2.4.32-build.patch"
- ],
- "configure-commands": [
- "sed -i -e 's,PKG_\\(.*\\)_DIR\\t= ,PKG_\\1_DIR\\t= \\$(DESTDIR),g' include/builddefs.in",
- "sed -i -e 's,\\$\\$LOCAL_CONFIGURE_OPTIONS,\\$(LOCAL_CONFIGURE_OPTIONS),g' Makefile",
- "make LOCAL_CONFIGURE_OPTIONS=\"--prefix=/usr --exec-prefix=/usr --sbindir=/usr/sbin --bindir=/usr/bin --libdir=/usr/lib --libexecdir=/usr/lib --enable-lib64=yes --includedir=/usr/include --mandir=/usr/share/man --datadir=/usr/share\" configure"
- ],
- "build-commands": [
- "make SHELL=/bin/bash"
- ],
- "install-commands": [
- "make SHELL=/bin/bash DESTDIR=\"$DESTDIR\" install-lib install-dev"
- ]
-}
+name: attr
+kind: chunk
+description:
+- 'The DESTDIR patch idea comes from: http://pkgs.fedoraproject.org/gitweb/?p=attr.git;a=blob_plain;f=attr-2.4.32-build.patch'
+configure-commands:
+- sed -i -e 's,PKG_\(.*\)_DIR\t= ,PKG_\1_DIR\t= \$(DESTDIR),g' include/builddefs.in
+- sed -i -e 's,\$\$LOCAL_CONFIGURE_OPTIONS,\$(LOCAL_CONFIGURE_OPTIONS),g' Makefile
+- make LOCAL_CONFIGURE_OPTIONS="--prefix=/usr --exec-prefix=/usr --sbindir=/usr/sbin
+ --bindir=/usr/bin --libdir=/usr/lib --libexecdir=/usr/lib --enable-lib64=yes --includedir=/usr/include
+ --mandir=/usr/share/man --datadir=/usr/share" configure
+build-commands:
+- make SHELL=/bin/bash
+install-commands:
+- make SHELL=/bin/bash DESTDIR="$DESTDIR" install-lib install-dev