From ab1857c8e0c35c38b9ea1a5307a73ca7f2f60500 Mon Sep 17 00:00:00 2001 From: Amy Fong Date: Tue, 20 May 2014 15:18:18 -0400 Subject: Ruby/chef solo: Add recipes-devtools/ruby/erubis_git.bb Erubis is an implementation of eRuby. Signed-off-by: Mark Asselstine Signed-off-by: Amy Fong --- meta-openstack/recipes-devtools/ruby/erubis_git.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-openstack/recipes-devtools/ruby/erubis_git.bb 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 @@ +# +# Copyright (C) 2014 Wind River Systems, Inc. +# +SUMMARY = "Erubis is an implementation of eRuby." +DESCRIPTION = "Erubis is an implementation of eRuby." + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=3014a71019e3adb4bd2c1de02a7195d0" + +PR = "r0" + +BPV = "2.7.0" +PV = "${BPV}" +SRCREV = "1f0b38d9e66885f8af0244d12d1a6702fc04a8de" + +S = "${WORKDIR}/git" + +SRC_URI = " \ + git://github.com/kwatch/erubis.git \ + " + +inherit ruby + +do_patch_append() { + bb.build.exec_func('do_fixup_gemspec', d) +} + +do_fixup_gemspec() { + sed -e "s:\\\$Release\\\$:${BPV}:g" -i ${S}/${BPN}.gemspec +} + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf