void-packages/srcpkgs/mhddfs/template

28 lines
764 B
Bash

# Template file for 'mhddfs'
pkgname=mhddfs
version=0.1.39
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="fuse-devel attr-devel uthash"
short_desc="FUSE filesystem that combines a several mountpoints into a single one"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="GPL-3"
homepage="http://mhddfs.uvw.ru/"
distfiles="http://mhddfs.uvw.ru/downloads/${pkgname}_${version}.tar.gz"
checksum=702fc5486460c1828898426b1935179ce60bc1ed16fc8bc575c9ec1d12acef91
pre_build() {
sed -i 's|^CFLAGS[[:blank:]]*=|override CFLAGS +=|g' Makefile
sed -i 's|^LDFLAGS[[:blank:]]*=|override LDFLAGS +=|g' Makefile
sed -i 's|gcc|${CC}|g' Makefile
}
do_install() {
vbin mhddfs
vman mhddfs.1
vdoc README
vdoc README.ru.UTF-8
vdoc ChangeLog
}