diff --git a/srcpkgs/attic/template b/srcpkgs/attic/template index 802358691a5..a2f9a04de67 100644 --- a/srcpkgs/attic/template +++ b/srcpkgs/attic/template @@ -1,17 +1,23 @@ # Template file for 'attic' pkgname=attic version=0.13 -revision=2 -wrksrc=Attic-$version +revision=3 +wrksrc="Attic-$version" build_style=python-module -hostmakedepends="python3.4-setuptools Cython" -makedepends="python3.4-devel libressl-devel acl-devel" +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" -depends="python3.4 python3.4-msgpack" short_desc="A deduplicating backup program for efficient and secure backups" maintainer="Christian Neukirchen " 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 +}