summaryrefslogtreecommitdiff
path: root/repo/util/grep.xibuild
blob: e7689f9dbdea0d7f805a381ab5c414bf1c184596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

MAKEDEPS="grep make "
DEPS="musl pcre2"

PKG_VER=3.7
SOURCE=https://ftp.gnu.org/gnu/grep/grep-$PKG_VER.tar.xz
DESC="A string search utility"

build () {
    ./configure --prefix=/usr --bindir=/bin
    make
}

check () {
    make check
}

package () {
    make DESTDIR=$PKG_DEST install 
    mv $PKG_DEST/bin/grep $PKG_DEST/bin/ggrep 
    
}