new file: projects/ctags.io/package.yml

new file:   projects/ctags.io/test.c
This commit is contained in:
Andrii Riabchenko 2024-03-10 20:25:23 +02:00 committed by Jacob Heider
parent a5347f93a7
commit ced302b84c
2 changed files with 51 additions and 0 deletions

View 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
View file

@ -0,0 +1,13 @@
#include <stdio.h>
#include <stdlib.h>
void func()
{
printf("Hello World!");
}
int main()
{
func();
return 0;
}