mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/ctags.io/package.yml
new file: projects/ctags.io/test.c
This commit is contained in:
parent
a5347f93a7
commit
ced302b84c
2 changed files with 51 additions and 0 deletions
38
projects/ctags.io/package.yml
Normal file
38
projects/ctags.io/package.yml
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/universal-ctags/ctags/archive/refs/tags/{{version.tag}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: universal-ctags/ctags
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
digip.org/jansson: ^2
|
||||||
|
pyyaml.org/libyaml: ^0.2
|
||||||
|
pcre.org/v2: ^10
|
||||||
|
gnome.org/libxml2: ^2
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
gnu.org/autoconf: '*'
|
||||||
|
gnu.org/automake: '*'
|
||||||
|
docutils.org: '*'
|
||||||
|
python.org: '>=3.11'
|
||||||
|
script:
|
||||||
|
- ./autogen.sh
|
||||||
|
- ./configure $ARGS
|
||||||
|
- make --jobs {{ hw.concurrency }}
|
||||||
|
- make --jobs {{ hw.concurrency }} install
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --disable-debug
|
||||||
|
- --disable-dependency-tracking
|
||||||
|
- --prefix={{prefix}}
|
||||||
|
- --libdir={{prefix}}/lib
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/ctags
|
||||||
|
|
||||||
|
test:
|
||||||
|
- ctags -R .
|
||||||
|
- cat tags | grep 'test.c'
|
||||||
|
- ctags --version | grep {{version}}
|
13
projects/ctags.io/test.c
Normal file
13
projects/ctags.io/test.c
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
void func()
|
||||||
|
{
|
||||||
|
printf("Hello World!");
|
||||||
|
}
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
func();
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in a new issue