first commit
This commit is contained in:
2
src/grep/.cache/last
Normal file
2
src/grep/.cache/last
Normal file
@ -0,0 +1,2 @@
|
||||
887a9e7065789d9d1b4dcd6c4f733779
|
||||
f1d5924af55a63998ee131fd1f8d1132
|
2
src/grep/changes.md
Normal file
2
src/grep/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 3.11
|
||||
No changes specified
|
23
src/grep/pkg.sh
Normal file
23
src/grep/pkg.sh
Normal file
@ -0,0 +1,23 @@
|
||||
# general info
|
||||
NAME="grep"
|
||||
DESC="Programs for searching through the contents of files"
|
||||
VERSION="3.11"
|
||||
|
||||
# required files
|
||||
FILES=("https://ftp.gnu.org/gnu/grep/grep-${VERSION}.tar.xz")
|
||||
HASHES=("7c9bbd74492131245f7cdb291fa142c0")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("glibc" "pcre2")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.xz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
sed -i "s/echo/#echo/" src/egrep.sh
|
||||
./configure --prefix=/usr && make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
Reference in New Issue
Block a user