36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'erofs-utils'
|
|
pkgname=erofs-utils
|
|
version=1.7
|
|
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/"
|
|
distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot/erofs-utils-${version}.tar.gz"
|
|
checksum=b6eb529bb423eb2dd779c9da9c2632855488b4b91e23553a31ce23f11c9cce2c
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
case "${XBPS_TARGET_MACHINE}" in
|
|
armv6l*|armv7l*|aarch64*) configure_args+=" MAX_BLOCK_SIZE=4096" ;;
|
|
esac
|
|
fi
|
|
|
|
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
|
|
}
|
|
}
|