summaryrefslogtreecommitdiffstats
path: root/examples/recipes/mpfr@4.2.1.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2024-04-04 00:40:06 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2024-04-04 01:16:14 +0200
commit239a830981b6641a56b44e192b7ac60e38942a3f (patch)
tree8223ebb140b3ddca629ee2bab2a49855f0ba5e97 /examples/recipes/mpfr@4.2.1.yml
parentb2ce46f9e4130f9e30d2eaa486558bf16af31b50 (diff)
downloadrebel-239a830981b6641a56b44e192b7ac60e38942a3f.tar
rebel-239a830981b6641a56b44e192b7ac60e38942a3f.zip
examples: always set version in content, not filename
Diffstat (limited to 'examples/recipes/mpfr@4.2.1.yml')
-rw-r--r--examples/recipes/mpfr@4.2.1.yml57
1 files changed, 0 insertions, 57 deletions
diff --git a/examples/recipes/mpfr@4.2.1.yml b/examples/recipes/mpfr@4.2.1.yml
deleted file mode 100644
index c2ec024..0000000
--- a/examples/recipes/mpfr@4.2.1.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-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
-