summaryrefslogtreecommitdiffstats
path: root/examples/mpc.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-10-30 00:21:04 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-10-30 21:15:09 +0200
commit3fbe53aec0f340a90858265ca8f890314fa5d523 (patch)
tree32a666397b7c97c6ba202274b7f0aaf0e2166422 /examples/mpc.yml
parent6d77ac17b4414d30384473c667e08199f428d94e (diff)
downloadrebel-3fbe53aec0f340a90858265ca8f890314fa5d523.tar
rebel-3fbe53aec0f340a90858265ca8f890314fa5d523.zip
examples: move recipes to subdirectory
Diffstat (limited to 'examples/mpc.yml')
-rw-r--r--examples/mpc.yml59
1 files changed, 0 insertions, 59 deletions
diff --git a/examples/mpc.yml b/examples/mpc.yml
deleted file mode 100644
index 8a4aadf..0000000
--- a/examples/mpc.yml
+++ /dev/null
@@ -1,59 +0,0 @@
-meta:
- version: '1.2.1'
-tasks:
- unpack:
- fetch:
- - name: '{{pn}}-{{pv}}.tar.gz'
- sha256: '17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459'
- run: |
- tar xf {{dldir}}/{{pn}}-{{pv}}.tar.gz
-
- configure:
- args:
- host: 'platform'
- inherit:
- task: 'unpack'
- build_depends:
- - recipe: 'toolchain'
- task: 'build_depends'
- depends:
- - recipe: 'toolchain'
- task: 'depends'
- - recipe: 'mpfr'
- task: 'install'
- run: |
- mkdir {{pn}}-build
- cd {{pn}}-build
- ../{{pn}}-{{pv}}/configure \
- --build={{build.gnu_triplet}} \
- --host={{host.gnu_triplet}} \
- --prefix={{host.prefix}}
- find -name config.log -delete
-
- compile:
- args:
- host: 'platform'
- inherit:
- task: 'configure'
- run: |
- cd {{pn}}-build
- make
-
- install:
- args:
- host: 'platform'
- inherit:
- task: 'compile'
- output:
- default:
- runtime_depends:
- - recipe: 'toolchain'
- task: 'depends'
- - recipe: 'mpfr'
- task: 'install'
- run: |
- cd {{pn}}-build
- make DESTDIR={{destdir}} install
- rm {{destdir}}{{host.prefix}}/lib/*.a
- rm {{destdir}}{{host.prefix}}/lib/*.la
-