mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-15 19:20:10 -07:00
zip: clean up build
This commit is contained in:
parent
82db154d68
commit
554eda040b
@ -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
1
extra/zip/depends
Normal file
@ -0,0 +1 @@
|
||||
bzip2
|
Loading…
Reference in New Issue
Block a user