void-packages/srcpkgs/mergerfs/template
Noel Cower 78b0041c78 mergerfs: orphan package.
Abandoning the package since there's no sign that they'll stop using
a modified, internal fork of libfuse, and I don't intend to maintain
patches against something like that.
2020-02-20 09:56:47 +01:00

27 lines
859 B
Bash

# Template file for 'mergerfs'
pkgname=mergerfs
version=2.25.1
revision=2
build_style=gnu-makefile
make_build_args="INTERNAL_FUSE=0"
make_install_args="${make_build_args}"
hostmakedepends="automake libtool pandoc pkg-config which"
makedepends="fuse-devel"
short_desc="FUSE union filesystem"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/trapexit/mergerfs"
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=f604ad04aad99983c5f91e50e27275deefab4797c1343d8e0cf3664d1ca53fc5
pre_build() {
sed -i 's|^CFLAGS[[:blank:]]*=|override CFLAGS +=|g' Makefile
sed -i 's|^LDFLAGS[[:blank:]]*=|override LDFLAGS +=|g' Makefile
echo "#pragma once" > src/version.hpp
echo "static const char MERGERFS_VERSION[] = \"${version}\";" >> src/version.hpp
}
post_install() {
vlicense LICENSE
}