From 67cdc74edf0f95e6912ccf56086179af15848001 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Tue, 12 Mar 2024 00:01:05 +0200 Subject: [PATCH] +geoff.greer.fm/ag (#4992) * new file: projects/geoff.greer.fm/ag/package.yml * . * debug * . * test * test * --allow-multiple-definition * test * let's see * hmmm * --skip-vcs-ignore sometimes needed * very mysterious * soooo, everything is working but implicit `.`? * punt --------- Co-authored-by: Jacob Heider --- projects/geoff.greer.fm/ag/package.yml | 41 ++++++++++++++++++++++++++ projects/geoff.greer.fm/ag/test.txt | 1 + 2 files changed, 42 insertions(+) create mode 100644 projects/geoff.greer.fm/ag/package.yml create mode 100644 projects/geoff.greer.fm/ag/test.txt diff --git a/projects/geoff.greer.fm/ag/package.yml b/projects/geoff.greer.fm/ag/package.yml new file mode 100644 index 00000000..ec565009 --- /dev/null +++ b/projects/geoff.greer.fm/ag/package.yml @@ -0,0 +1,41 @@ +distributable: + url: https://github.com/ggreer/the_silver_searcher/archive/refs/tags/{{version.tag}}.tar.gz + strip-components: 1 + +display-name: the_silver_searcher + +versions: + github: ggreer/the_silver_searcher/tags + +dependencies: + pcre.org: ^8 + tukaani.org/xz: ^5.4.5 + +build: + dependencies: + gnu.org/autoconf: '*' + gnu.org/automake: '*' + # ./configure: line 4550: syntax error near unexpected token `PCRE,' + # ./configure: line 4550: `PKG_CHECK_MODULES(PCRE, libpcre)' + freedesktop.org/pkg-config: '*' + script: + - autoreconf -fiv + - ./configure $ARGS + - make + - make install + env: + linux: + # ld.lld: error: duplicate symbol + CFLAGS: $CFLAGS -Wl,--allow-multiple-definition + ARGS: + - --prefix={{prefix}} + - --disable-dependency-tracking + +provides: + - bin/ag + +test: + - ag 'Hello World!' . + # this doesn't work in CI, even though it should. wonder why? + #- ag -a 'Hello World!' + - ag --version | grep {{version}} diff --git a/projects/geoff.greer.fm/ag/test.txt b/projects/geoff.greer.fm/ag/test.txt new file mode 100644 index 00000000..c57eff55 --- /dev/null +++ b/projects/geoff.greer.fm/ag/test.txt @@ -0,0 +1 @@ +Hello World! \ No newline at end of file