diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-11-03 17:15:36 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-11-03 17:15:36 +0100 |
commit | c40a4dcdcf46a0c01c97cf294384088b761d1ddf (patch) | |
tree | 2c89978f7484dd01b475ca2e67a5e01cb008e84f /examples/recipes/make_ext4fs@2020-01-05.yml | |
parent | 272a73cae03d7c5ae22ff94b935a1d37f437ebef (diff) | |
download | rebel-c40a4dcdcf46a0c01c97cf294384088b761d1ddf.tar rebel-c40a4dcdcf46a0c01c97cf294384088b761d1ddf.zip |
examples: move version number to filename
Diffstat (limited to 'examples/recipes/make_ext4fs@2020-01-05.yml')
-rw-r--r-- | examples/recipes/make_ext4fs@2020-01-05.yml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/examples/recipes/make_ext4fs@2020-01-05.yml b/examples/recipes/make_ext4fs@2020-01-05.yml new file mode 100644 index 0000000..53fed98 --- /dev/null +++ b/examples/recipes/make_ext4fs@2020-01-05.yml @@ -0,0 +1,44 @@ +meta: + version: '2020-01-05-5c201be7d72aff735da27e17c29852e0cefe3e52' +tasks: + unpack: + fetch: + - name: '{{pn}}-{{pv}}.tar.gz' + sha256: 'bfe984cc757c676639090a5b34bdfc359cdef9b723de77efbce590872dce4132' + run: | + tar xf {{dldir}}/{{pn}}-{{pv}}.tar.gz + + compile: + args: + host: 'platform' + build_depends: + - recipe: 'toolchain' + task: 'build_depends' + depends: + - recipe: 'toolchain' + task: 'depends' + - recipe: 'zlib' + task: 'install' + inherit: + task: 'unpack' + run: | + cd {{pn}}-{{pv}} + make + + install: + args: + host: 'platform' + inherit: + task: 'compile' + output: + default: + runtime_depends: + - recipe: 'toolchain' + task: 'depends' + - recipe: 'zlib' + task: 'install' + run: | + cd {{pn}}-{{pv}} + install -d {{destdir}}{{host.prefix}}/bin + install -m755 make_ext4fs {{destdir}}{{host.prefix}}/bin/ + |