diff options
| author | Amy Fong <amy.fong@windriver.com> | 2014-05-20 15:18:18 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-05-24 00:27:56 -0400 |
| commit | 17764609aebebc26062efead34e49dccf4bbeb82 (patch) | |
| tree | 2b34eb8eeb7722f7b972e40419640bbcb652d6b2 /meta-openstack/recipes-devtools/ruby | |
| parent | 2e12ccf943cde43a1ddfd6b0cd656c25dc226cff (diff) | |
| download | meta-cloud-services-17764609aebebc26062efead34e49dccf4bbeb82.tar.gz | |
Ruby/chef solo: Add recipes-devtools/ruby/erubis_git.bb
Erubis is an implementation of eRuby.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/ruby')
| -rw-r--r-- | meta-openstack/recipes-devtools/ruby/erubis_git.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/ruby/erubis_git.bb b/meta-openstack/recipes-devtools/ruby/erubis_git.bb new file mode 100644 index 0000000..08e0f28 --- /dev/null +++ b/meta-openstack/recipes-devtools/ruby/erubis_git.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2014 Wind River Systems, Inc. | ||
| 3 | # | ||
| 4 | SUMMARY = "Erubis is an implementation of eRuby." | ||
| 5 | DESCRIPTION = "Erubis is an implementation of eRuby." | ||
| 6 | |||
| 7 | LICENSE = "MIT" | ||
| 8 | LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=3014a71019e3adb4bd2c1de02a7195d0" | ||
| 9 | |||
| 10 | PR = "r0" | ||
| 11 | |||
| 12 | BPV = "2.7.0" | ||
| 13 | PV = "${BPV}" | ||
| 14 | SRCREV = "1f0b38d9e66885f8af0244d12d1a6702fc04a8de" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | SRC_URI = " \ | ||
| 19 | git://github.com/kwatch/erubis.git \ | ||
| 20 | " | ||
| 21 | |||
| 22 | inherit ruby | ||
| 23 | |||
| 24 | do_patch_append() { | ||
| 25 | bb.build.exec_func('do_fixup_gemspec', d) | ||
| 26 | } | ||
| 27 | |||
| 28 | do_fixup_gemspec() { | ||
| 29 | sed -e "s:\\\$Release\\\$:${BPV}:g" -i ${S}/${BPN}.gemspec | ||
| 30 | } | ||
| 31 | |||
| 32 | BBCLASSEXTEND = "native" | ||
