19 lines
343 B
Bash
19 lines
343 B
Bash
|
|
fetch $XZ_URL
|
|
|
|
cd "$SOURCES" && tar xf xz-$XZ_VERSION.tar.xz && cd xz-$XZ_VERSION
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--host=$TARGET \
|
|
--build=$(build-aux/config.guess) \
|
|
--disable-static \
|
|
--silent \
|
|
--disable-nls \
|
|
--quiet
|
|
|
|
make && make DESTDIR="$SYSROOT" install
|
|
|
|
rm "$SYSROOT"/usr/lib/liblzma.la
|
|
|
|
cd "$SOURCES" && rm -rf xz-$XZ_VERSION |