Commit b2af02f3 authored by Jondy Zhao's avatar Jondy Zhao

bison: an example to show how to apply patches by slapos.recipe.cmmi

parent ad96949e
......@@ -4,29 +4,17 @@ extends =
parts =
bison
[bison-drop.gets.patch]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
md5sum = ac06cbaa298ac686d0b0c04bc03e6ad8
download-only = true
filename = drop.gets.patch
[bison]
virtual-depends = ${bison-drop.gets.patch:md5sum}
patch-options = -p1
patches =
${bison-drop.gets.patch:location}/${bison-drop.gets.patch:filename}
recipe = slapos.recipe.cmmi
url = http://ftp.gnu.org/gnu/bison/bison-2.5.tar.bz2
md5sum = 9dba20116b13fc61a0846b0058fbe004
patch-options = -p1
patches =
${:_profile_base_location_}/drop.gets.patch#ac06cbaa298ac686d0b0c04bc03e6ad8
environment =
M4=${m4:location}/bin/m4
[bison:cygwin]
virtual-depends =
patches =
environment =
share = /usr
promises =
/usr/bin/bison.exe
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment