mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
+utf8proc (#1317)
This commit is contained in:
parent
c2eb600926
commit
da91d92898
1 changed files with 29 additions and 0 deletions
29
projects/github.com/JuliaStrings/utf8proc/package.yml
Normal file
29
projects/github.com/JuliaStrings/utf8proc/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
distributable:
|
||||
url: https://github.com/JuliaStrings/utf8proc/archive/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: JuliaStrings/utf8proc
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script:
|
||||
make install prefix={{prefix}}
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
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;
|
||||
}
|
Loading…
Reference in a new issue