2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

zip: clean up build

This commit is contained in:
Dylan Araps 2019-10-08 10:19:58 +03:00
parent 82db154d68
commit 554eda040b
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 10 additions and 3 deletions

View File

@ -1,6 +1,12 @@
#!/bin/sh -e
sed -e "s|generic CC=gcc CPP=\"gcc -E\"|zips CC=${CC:-gcc} CPP=\"$CPP -E\" CFLAGS=\"-DLARGE_FILE_SUPPORT $CFLAGS \${CFLAGS_NOOPT}\" LFLAGS2=\"$LDFLAGS\"|g" -i unix/Makefile
make \
prefix=/usr \
CC="${CC:-gcc} $CFLAGS $CXXFLAGS" \
-f unix/Makefile generic
make \
prefix="$1/usr" \
MANDIR="$1/usr/share/man/man1" \
-f unix/Makefile install
make -f unix/Makefile prefix=/usr generic_gcc
make prefix="$1/usr" MANDIR="$1/usr/share/man/man1" -f unix/Makefile install

1
extra/zip/depends Normal file
View File

@ -0,0 +1 @@
bzip2