aboutsummaryrefslogtreecommitdiff
path: root/extra/grep/build
blob: 547fc5a5ce1456b620d14d01c30842725ae82768 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr

make
make DESTDIR="$1" install

cp "$1/usr/bin/grep" "$1/usr/bin/ggrep"