28 lines
886 B
Bash
28 lines
886 B
Bash
# Template file for 'squashfs-tools-ng'
|
|
pkgname=squashfs-tools-ng
|
|
version=0.9.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake pkg-config libtool"
|
|
makedepends="liblz4-devel liblzma-devel libzstd-devel lzo-devel zlib-devel"
|
|
short_desc="Set of tools and libraries for working with SquashFS images"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="GPL-3.0-or-later, LGPL-3.0-or-later"
|
|
homepage="https://github.com/AgentD/squashfs-tools-ng"
|
|
distfiles="https://github.com/AgentD/squashfs-tools-ng/archive/v${version}.tar.gz"
|
|
checksum=316b1e457da28709ed3c54add71bf3233f18ec1c2fd9d7294b83ebeed9ca2d5d
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
squashfs-tools-ng-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|