mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
dd5d4446b4
commit
a7e7b4244f
37
projects/thrysoee.dk/editline/package.yml
Normal file
37
projects/thrysoee.dk/editline/package.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
distributable:
|
||||
url: https://thrysoee.dk/editline/libedit-20221030-{{ version.raw }}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
- 3.1
|
||||
|
||||
dependencies:
|
||||
invisible-island.net/ncurses: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
ARGS:
|
||||
- --disable-dependency-tracking
|
||||
- --disable-silent-rules
|
||||
- --prefix={{ prefix }}
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
mv $FIXTURE test.c
|
||||
cc -o test test.c -ledit
|
||||
./test
|
||||
fixture: |
|
||||
#include <stdio.h>
|
||||
#include <histedit.h>
|
||||
int main(int argc, char *argv[]) {
|
||||
EditLine *el = el_init(argv[0], stdin, stdout, stderr);
|
||||
return (el == NULL);
|
||||
}
|
Loading…
Reference in a new issue