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

make \
    prefix=/usr \
    CC="${CC:-gcc} $CFLAGS $CXXFLAGS -static" \
    -f unix/Makefile generic

make \
    prefix="$1/usr" \
    MANDIR="$1/usr/share/man/man1" \
    -f unix/Makefile install