smlinux/base/xz/xz.SMBuild
2022-01-28 23:06:05 +05:30

34 lines
679 B
Text
Executable file

APP=xz
VERSION=5.2.5
BUILD=1sml
HOMEPAGE="https://tukaani.org/xz/"
DOWNLOAD="https://tukaani.org/xz/xz-5.2.5.tar.xz"
DESC="compression utility based on the LZMA algorithm"
REQUIRES="musl"
build() {
mkandenterbuilddir
rm -rf $APP-$VERSION
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
cd $APP-$VERSION
fixbuilddirpermissions
./configure \
--prefix="" \
--bindir=/bin \
--disable-nls \
--enable-static \
--with-pic
make
make install DESTDIR=$PKG
cp COPYING* $PKGDOCS/
mkfinalpkg
}
SHA512SUMS="
59266068a51cb616eb31b67cd8f07ffeb2288d1391c61665ae2ec6814465afac80fec69248f6a2f2db45b44475af001296a99af6a32287226a9c41419173ccbb xz-5.2.5.tar.xz
"