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:
parent
ee721978f6
commit
f8984146bd
4 changed files with 291 additions and 223 deletions
17
Ports/thesilversearcher/package.sh
Executable file
17
Ports/thesilversearcher/package.sh
Executable 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue