2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-23 07:40:11 -07:00
repo/extra/zip/build
2019-08-04 12:33:11 +03:00

7 lines
301 B
Bash
Executable File

#!/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
make prefix="$1/usr" MAANDIR="$1/usr/share/man/man1" -f unix/Makefile install