void-packages/srcpkgs/mergerfs/template
maxice8 45496516a4
mergerfs: update to 2.24.2.
Closes #14359.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-13 14:37:28 +02:00

25 lines
780 B
Bash

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