Skip to content

Commit

Permalink
Align recipe style with gz-math
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro committed Aug 24, 2024
1 parent 4958331 commit 5bbc306
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
{% set component_name = "sensors" %}
{% set repo_name = "gz-" + component_name %}
{% set version = "8_8.1.0" %}
{% set major_version = version.split('_')[0] %}
{% set version_package = version.split('_')[1] %}
{% set version = "8.1.0" %}
{% set major_version = version.split('.')[0] %}
{% set name = repo_name + major_version %}
{% set component_version = component_name + major_version %}
{% set cxx_name = "lib" + name %}

package:
name: {{ name }}
version: {{ version_package }}
version: {{ version }}

source:
- url: https://github.com/gazebosim/gz-sensors/archive/gz-sensors{{ version }}.tar.gz
- url: https://github.com/gazebosim/{{ repo_name }}/archive/{{ repo_name }}{{ major_version }}_{{ version }}.tar.gz
sha256: 7856e1a61d332fb095821156fd86c4a38ffca5020cca5ff542fccad651a4d3cc

build:
Expand Down

0 comments on commit 5bbc306

Please sign in to comment.