2006-02-23 16:26:10 +01:00
|
|
|
# Description: GNU grep, egrep and fgrep
|
2021-12-13 12:19:00 +01:00
|
|
|
# URL: https://www.gnu.org/software/grep/grep.html
|
2021-08-16 14:38:49 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2022-09-03 15:24:54 +02:00
|
|
|
# Depends on: libpcre2
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=grep
|
2023-05-14 16:15:40 +02:00
|
|
|
version=3.11
|
2020-09-28 12:45:21 +02:00
|
|
|
release=1
|
2021-12-13 12:19:00 +01:00
|
|
|
source=(https://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2021-08-16 14:38:49 +02:00
|
|
|
cd $name-$version
|
2013-10-27 08:50:47 +01:00
|
|
|
|
2023-03-06 10:03:28 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls \
|
|
|
|
--without-libsigsegv
|
2021-08-16 14:38:49 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2014-01-05 13:28:01 +01:00
|
|
|
|
2021-08-16 14:38:49 +02:00
|
|
|
rm -r $PKG/usr/share/info
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|