gzip openssl implement
This commit is contained in:
parent
474f8e4684
commit
c28ac8147f
2 changed files with 4 additions and 2 deletions
|
@ -2,8 +2,10 @@ prepare:
|
||||||
git clone https://git.savannah.gnu.org/git/gzip.git/
|
git clone https://git.savannah.gnu.org/git/gzip.git/
|
||||||
cd gzip
|
cd gzip
|
||||||
make:
|
make:
|
||||||
|
./configure --prefix=$prefix/usr --host=$LFS_TGT
|
||||||
make CC="${CC:-cc} -static"
|
make CC="${CC:-cc} -static"
|
||||||
install:
|
install:
|
||||||
|
make DESTDIR=$LFS install
|
||||||
install -Dm755 pigz "$1/usr/bin/pigz"
|
install -Dm755 pigz "$1/usr/bin/pigz"
|
||||||
install -Dm755 unpigz "$1/usr/bin/unpigz"
|
install -Dm755 unpigz "$1/usr/bin/unpigz"
|
||||||
install -Dm644 pigz.1 "$1/usr/share/man/man1/pigz.1"
|
install -Dm644 pigz.1 "$1/usr/share/man/man1/pigz.1"
|
||||||
|
|
|
@ -2,8 +2,8 @@ prepare:
|
||||||
git clone https://github.com/openssl/openssl.git
|
git clone https://github.com/openssl/openssl.git
|
||||||
cd openssl
|
cd openssl
|
||||||
make:
|
make:
|
||||||
./config --prefix=/usr \
|
./config --prefix=$prefix/usr \
|
||||||
--openssldir=/etc/ssl \
|
--openssldir=$prefix/etc/ssl \
|
||||||
--libdir=lib \
|
--libdir=lib \
|
||||||
shared \
|
shared \
|
||||||
zlib-dynamic
|
zlib-dynamic
|
||||||
|
|
Loading…
Reference in a new issue