new file: projects/ibr.cs.tu-bs.de/libsmi/package.yml

This commit is contained in:
andrejrabcenko 2023-05-07 00:51:07 +03:00 committed by Jacob Heider
parent 85e3748c01
commit efb673b6c8

View file

@ -0,0 +1,34 @@
distributable:
url: https://www.ibr.cs.tu-bs.de/projects/libsmi/download/libsmi-{{version}}.tar.gz
strip-components: 1
versions:
url: https://www.ibr.cs.tu-bs.de/projects/libsmi/download.html
match: /\d+\.\d+\.\d+/
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/autoconf: '*'
gnu.org/automake: '*'
gnu.org/libtool: '*'
script: |
autoreconf --force --install --verbose
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-debug
- --disable-dependency-tracking
provides:
- bin/smidiff
- bin/smidump
- bin/smilint
- bin/smiquery
- bin/smixlate
test:
smidiff --version | grep {{version}}