void-packages/srcpkgs/squashfs-tools-ng/template
2020-06-14 14:39:48 +02:00

28 lines
901 B
Bash

# Template file for 'squashfs-tools-ng'
pkgname=squashfs-tools-ng
version=1.0.0
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://infraroot.at/projects/squashfs-tools-ng/index.html"
distfiles="https://github.com/AgentD/squashfs-tools-ng/archive/v${version}.tar.gz"
checksum=39d0cc19b99e7d6ee0967728804dea83fa635858aad664a5fb49273a660812f5
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"
}
}