repo/extra/zip/build

7 lines
300 B
Plaintext
Raw Normal View History

2019-08-02 18:41:09 -06:00
#!/bin/sh -e
sed -e "s|generic CC=gcc CPP=\"gcc -E\"|zips CC=$CC CPP=\"$CPP -E\" CFLAGS=\"-DLARGE_FILE_SUPPORT $CFLAGS \${CFLAGS_NOOPT}\" LFLAGS2=\"$LDFLAGS\"|g" -i unix/Makefile
make -f unix/Makefile prefix=/usr generic
2019-08-13 03:58:22 -06:00
make prefix="$1/usr" MANDIR="$1/usr/share/man/man1" -f unix/Makefile install