37 lines
914 B
Bash
37 lines
914 B
Bash
# Template file for 'sqsh-tools'
|
|
pkgname=sqsh-tools
|
|
version=1.5.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=qemu
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libcurl-devel zlib-devel liblz4-devel liblzma-devel libzstd-devel
|
|
fuse3-devel"
|
|
short_desc="Fresh squashfs implementation"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://gottox.de/sqsh-tools/"
|
|
distfiles="https://github.com/Gottox/sqsh-tools/releases/download/v${version}/sqsh-tools-${version}.tar.gz"
|
|
checksum=e6c1101cd71d578ccc23540fe0d524909aac9a3c8d7ed9e6b2fc5b81107dacd2
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libsqsh-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/libsqsh.a"
|
|
}
|
|
}
|
|
|
|
libsqsh_package() {
|
|
pkg_install() {
|
|
vmove "usr/lib/libsqsh.so.*"
|
|
}
|
|
}
|