1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 20:17:45 +00:00

Ports: Add thesilversearcher (ag)

This commit is contained in:
Raymond Lucke 2022-05-14 13:25:23 -04:00 committed by Linus Groh
parent ee721978f6
commit f8984146bd
4 changed files with 291 additions and 223 deletions

View file

@ -0,0 +1,17 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=thesilversearcher
version=2.2.0
useconfigure="true"
files="https://github.com/ggreer/the_silver_searcher/archive/refs/tags/${version}.tar.gz the_silver_searcher-${version}.tar.xz 6a0a19ca5e73b2bef9481c29a508d2413ca1a0a9a5a6b1bd9bbd695a7626cbf9"
workdir="the_silver_searcher-${version}"
configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--disable-utf8")
depends=("pcre" "xz")
auth_type="sha256"
pre_configure() {
export CFLAGS="-fcommon -D_GNU_SOURCE -lpthread"
run aclocal
run autoconf
run autoheader
run automake --add-missing
}