void-packages/srcpkgs/attic/template
Alessio Sergi 3f57e47623 attic: unbreak and fix cross build
Only the development version of attic requires cython to build.
2014-11-07 17:21:56 +01:00

23 lines
781 B
Text

# Template file for 'attic'
pkgname=attic
version=0.13
revision=3
wrksrc="Attic-$version"
build_style=python-module
hostmakedepends="python3.4-setuptools python3.4-devel libressl-devel"
makedepends="${hostmakedepends/python3.4-setuptools/} acl-devel"
depends="python3.4-msgpack"
python_versions="3.4"
pycompile_module="attic"
short_desc="A deduplicating backup program for efficient and secure backups"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="https://attic-backup.org/"
license="BSD"
distfiles="${PYPI_SITE}/A/Attic/Attic-$version.tar.gz"
checksum=fe34a48998d876686987dc926f6cf78e337bff8ea1c120ecf240ff4fe970673f
pre_build() {
if [ "$CROSS_BUILD" ]; then
sed -i "s|\(possible_openssl_prefixes\) =.*|\1 = ['${XBPS_CROSS_BASE}/usr']|" setup.py
fi
}