1
0
Fork 0
frozenports/textproc/grep/SCHEMATIC

24 lines
803 B
Plaintext
Raw Normal View History

2024-01-22 10:46:08 +00:00
#!/bin/sh
name="grep"
short_desc="GNU grep pattern matching utility"
desc="The grep command searches one or more input files for lines containing a match
to a specified pattern. By default, grep prints the matching lines."
category="textproc"
version="3.11"
maintainer="ffqq@danwin1210.de"
www="https://www.gnu.org/software/grep/"
master_site="ftp://ftp.gnu.org/gnu/grep"
source_name="$name-$version.tar.xz"
license_logic="single" # accepted values: single, and, or
licenses=("GPLv3")
build_dependencies=("lang/gcc" "devel/gmake")
run_dependencies=("system/glibc")
build_process() {
cd $name-$version || exit 1
./configure --prefix=/usr/local || exit 1
make -j$(nproc) || exit 1
make DESTDIR="$TAMANDUA_STAGE_DIR" install || exit 1
rm -r $TAMANDUA_STAGE_DIR/usr/local/share/info
}