void-packages/srcpkgs/encfs/template
2020-01-25 16:40:30 +01:00

28 lines
859 B
Bash

# Template file for 'encfs'
pkgname=encfs
version=1.9.5
revision=3
build_style=cmake
hostmakedepends="gettext pkg-config perl"
makedepends="fuse-devel libressl-devel gettext-devel"
depends="perl" # for encfssh
short_desc="Encrypted filesystem in user-space"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-3.0-or-later"
homepage="http://www.arg0.net/encfs"
distfiles="https://github.com/vgough/encfs/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=4709f05395ccbad6c0a5b40a4619d60aafe3473b1a79bafb3aa700b1f756fd63
# Can't run test programs when cross compiling
if [ "$CROSS_BUILD" ]; then
configure_args="-DBUILD_UNIT_TESTS=0"
fi
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
armv[56]*|ppc*) makedepends+=" libatomic-devel"; LDFLAGS="-latomic" ;;
esac
post_install() {
chmod +x ${DESTDIR}/usr/bin/encfssh
}