30 lines
770 B
Bash
30 lines
770 B
Bash
# Template file for 'mergerfs'
|
|
pkgname="mergerfs"
|
|
version=2.17.0
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
makedepends="fuse-devel attr-devel"
|
|
hostmakedepends="pkg-config"
|
|
short_desc="FUSE union filesystem"
|
|
maintainer="xinterer <xinterer@users.noreply.github.com>"
|
|
license="ISC"
|
|
homepage="https://github.com/trapexit/mergerfs"
|
|
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=c5bd616b2d3894a18a0e0ba4326376a9a55921df25a95ea552dcbbbea6ddfa31
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) # Does not have pandoc
|
|
;;
|
|
*) hostmakedepends+=" pandoc"
|
|
;;
|
|
esac
|
|
|
|
pre_build() {
|
|
sed -i 's|^CFLAGS[[:blank:]]*=|override CFLAGS +=|g' Makefile
|
|
sed -i 's|^LDFLAGS[[:blank:]]*=|override LDFLAGS +=|g' Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|