void-packages/srcpkgs/erofs-utils/template

31 lines
1012 B
Bash

# Template file for 'erofs-utils'
pkgname=erofs-utils
version=1.7.1
revision=1
build_style=gnu-configure
configure_args="
--enable-fuse
--enable-lzma"
hostmakedepends="automake libtool pkg-config"
makedepends="liblz4-devel libuuid-devel liblzma-devel zlib-devel fuse-devel"
short_desc="User-space tools for EROFS filesystem"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/about/"
changelog="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/plain/ChangeLog"
distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot/erofs-utils-${version}.tar.gz"
checksum=196083d63e5e231fb5799e7ce86a944bbca564daabce3de9225a8aca9dcaff15
pre_configure() {
autoreconf -fi
}
fuse-erofs_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/erofsfuse
vmove usr/share/man/man1/erofsfuse.1
}
}