summaryrefslogtreecommitdiffstats
path: root/examples/recipes/mpc/build.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/recipes/mpc/build.yml')
-rw-r--r--examples/recipes/mpc/build.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/recipes/mpc/build.yml b/examples/recipes/mpc/build.yml
index 0d17661..816bed0 100644
--- a/examples/recipes/mpc/build.yml
+++ b/examples/recipes/mpc/build.yml
@@ -3,10 +3,10 @@ meta:
tasks:
unpack:
fetch:
- - name: '{{basename}}-{{version}}.tar.gz'
+ - name: '{{name}}-{{version}}.tar.gz'
sha256: 'ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8'
run: |
- tar xf {{dldir}}/{{basename}}-{{version}}.tar.gz
+ tar xf {{dldir}}/{{name}}-{{version}}.tar.gz
configure:
args:
@@ -22,9 +22,9 @@ tasks:
- recipe: 'mpfr'
task: 'install'
run: |
- mkdir {{basename}}-build
- cd {{basename}}-build
- ../{{basename}}-{{version}}/configure \
+ mkdir {{name}}-build
+ cd {{name}}-build
+ ../{{name}}-{{version}}/configure \
--build={{build.gnu_triplet}} \
--host={{host.gnu_triplet}} \
--prefix={{host.prefix}}
@@ -36,7 +36,7 @@ tasks:
inherit:
task: 'configure'
run: |
- cd {{basename}}-build
+ cd {{name}}-build
make
install:
@@ -52,7 +52,7 @@ tasks:
- recipe: 'mpfr'
task: 'install'
run: |
- cd {{basename}}-build
+ cd {{name}}-build
make DESTDIR={{destdir}} install
rm {{destdir}}{{host.prefix}}/lib/*.a
rm {{destdir}}{{host.prefix}}/lib/*.la