27 lines
562 B
Plaintext
27 lines
562 B
Plaintext
# Description: Compression utility using the lzma algorithm, successor of lzma-utils
|
|
# URL: https://tukaani.org/xz/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
name=xz-32
|
|
version=5.6.3
|
|
release=1
|
|
source=(https://github.com/tukaani-project/xz/releases/download/v$version/xz-$version.tar.gz)
|
|
|
|
build() {
|
|
cd xz-$version
|
|
|
|
autoreconf -vfi
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--enable-threads \
|
|
--enable-werror \
|
|
--disable-doc \
|
|
--disable-nls
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{bin,include,share}
|
|
}
|