pantry/projects/sass-lang.com/libsass/package.yml
Andrii Riabchenko 4da91634f7 new file: projects/sass-lang.com/libsass/package.yml
new file:   projects/sass-lang.com/libsass/test.c
2023-11-19 00:03:05 -05:00

24 lines
555 B
YAML

distributable:
url: https://github.com/sass/libsass/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: sass/libsass
build:
dependencies:
gnu.org/autoconf: '*'
gnu.org/automake: '*'
gnu.org/libtool: '*'
script:
- autoreconf -fvi
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix={{prefix}}
- --disable-silent-rules
- --disable-dependency-tracking
test:
script:
- cc test.c -lsass -o test
- ./test | grep 'Compilation successful'