mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
22 lines
480 B
YAML
22 lines
480 B
YAML
distributable:
|
|
url: https://github.com/JuliaStrings/utf8proc/archive/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: JuliaStrings/utf8proc
|
|
|
|
build: make install prefix={{prefix}}
|
|
|
|
test:
|
|
script: |
|
|
mv $FIXTURE fixture.c
|
|
cc fixture.c -lutf8proc
|
|
./a.out
|
|
fixture: |
|
|
#include <string.h>
|
|
#include <utf8proc.h>
|
|
|
|
int main() {
|
|
const char *version = utf8proc_version();
|
|
return strnlen(version, sizeof("1.3.1-dev")) > 0 ? 0 : -1;
|
|
}
|