2016-08-06 17:34:15 +00:00
|
|
|
# Template file for 'mergerfs'
|
|
|
|
pkgname="mergerfs"
|
2016-08-26 10:17:54 +00:00
|
|
|
version=2.15.0
|
2016-08-06 17:34:15 +00:00
|
|
|
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"
|
2016-08-26 10:17:54 +00:00
|
|
|
checksum="a205ef73fd56e750230053884a80e113753d3284571ca1f2cf7f28a538a0593b"
|
2016-08-06 17:34:15 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|