void-packages/srcpkgs/mergerfs/template
2017-07-15 10:05:06 +00:00

29 lines
777 B
Bash

# Template file for 'mergerfs'
pkgname="mergerfs"
version=2.23.0
revision=1
build_style=gnu-makefile
makedepends="fuse-devel attr-devel"
hostmakedepends="automake libtool pkg-config"
short_desc="FUSE union filesystem"
maintainer="xinterer <xinterer@users.noreply.github.com>"
license="ISC"
homepage="https://github.com/trapexit/mergerfs"
distfiles="${homepage}/archive/${version}/${pkgname}-${version}.tar.gz"
checksum=533d9f1725e4801311a712c3c5487c11eabe48dbfe0e48f37291cff5bab17c5b
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
}