33 lines
931 B
Bash
33 lines
931 B
Bash
# Template file for 'xz'
|
|
pkgname=xz
|
|
version=5.4.6
|
|
revision=1
|
|
bootstrap=yes
|
|
build_style=gnu-configure
|
|
configure_args="--disable-doc"
|
|
short_desc="XZ compression utilities"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="Public Domain, GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://xz.tukaani.org"
|
|
changelog="https://git.tukaani.org/?p=xz.git;a=blob_plain;f=NEWS"
|
|
distfiles="https://github.com/tukaani-project/xz/releases/download/v${version}/xz-${version}.tar.gz"
|
|
checksum=aeba3e03bf8140ddedf62a0a367158340520f6b384f75ca6045ccc6c0d43fd5c
|
|
|
|
liblzma_package() {
|
|
short_desc="XZ-format compression library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
liblzma-devel_package() {
|
|
depends="liblzma>=${version}_${revision}"
|
|
short_desc="XZ-format compression library - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|