2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 03:30:23 -07:00
repo/extra/plzip/build

18 lines
415 B
Plaintext
Raw Normal View History

2020-05-07 09:18:10 -06:00
#!/bin/sh -e
# plzip is the only thing that will ever require
2020-05-17 01:39:05 -06:00
# this library. Let's simply build it and statically
2020-05-07 09:18:10 -06:00
# compile plzip.
(cd lzlib; ./configure; make)
./configure \
--prefix=/usr \
CXXFLAGS="$CXXFLAGS -static -L$PWD/lzlib -I$PWD/lzlib"
make
make DESTDIR="$1" install
# Create the symlink for compatibility. We're using
# a multi-threaded implementation of lzip.
ln -s plzip "$1/usr/bin/lzip"