summaryrefslogtreecommitdiffstats
path: root/examples/recipes/mpfr.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2024-04-04 01:13:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2024-04-04 01:16:43 +0200
commit1896ea04204b8086a4f25e257dc5605e5505d768 (patch)
tree694b5298958c0152ce4fe58c42f864980fd6b9df /examples/recipes/mpfr.yml
parentaa914e75251af3f9691be621a8c266320158bace (diff)
downloadrebel-1896ea04204b8086a4f25e257dc5605e5505d768.tar
rebel-1896ea04204b8086a4f25e257dc5605e5505d768.zip
driver: recipe: move each recipe into a separate directory
Diffstat (limited to 'examples/recipes/mpfr.yml')
-rw-r--r--examples/recipes/mpfr.yml59
1 files changed, 0 insertions, 59 deletions
diff --git a/examples/recipes/mpfr.yml b/examples/recipes/mpfr.yml
deleted file mode 100644
index 2c87912..0000000
--- a/examples/recipes/mpfr.yml
+++ /dev/null
@@ -1,59 +0,0 @@
-meta:
- version: '4.2.1'
-tasks:
- unpack:
- fetch:
- - name: '{{basename}}-{{version}}.tar.xz'
- sha256: '277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2'
- run: |
- tar xf {{dldir}}/{{basename}}-{{version}}.tar.xz
-
- configure:
- args:
- host: 'platform'
- inherit:
- task: 'unpack'
- build_depends:
- - recipe: 'toolchain'
- task: 'build_depends'
- depends:
- - recipe: 'toolchain'
- task: 'depends'
- - recipe: 'gmp'
- task: 'install'
- run: |
- mkdir {{basename}}-build
- cd {{basename}}-build
- ../{{basename}}-{{version}}/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 {{basename}}-build
- make
-
- install:
- args:
- host: 'platform'
- inherit:
- task: 'compile'
- output:
- default:
- runtime_depends:
- - recipe: 'toolchain'
- task: 'depends'
- - recipe: 'gmp'
- task: 'install'
- run: |
- cd {{basename}}-build
- make DESTDIR={{destdir}} install
- rm {{destdir}}{{host.prefix}}/lib/*.a
- rm {{destdir}}{{host.prefix}}/lib/*.la
-