void-packages/srcpkgs/attic/template

32 lines
1017 B
Bash
Raw Normal View History

2014-07-02 14:47:47 +02:00
# Template file for 'attic'
pkgname=attic
version=0.16
2015-04-16 13:32:12 +02:00
revision=1
wrksrc="Attic-$version"
2014-07-02 14:47:47 +02:00
build_style=python-module
hostmakedepends="python3.4-setuptools python3.4-devel libressl-devel python3.4-Sphinx"
makedepends="${hostmakedepends/python3.4-setuptools/} acl-devel"
depends="python3.4-msgpack"
2014-07-02 14:47:47 +02:00
python_versions="3.4"
2015-01-11 23:15:10 +01:00
pycompile_version="3.4"
2014-07-02 14:47:47 +02:00
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="https://pypi.python.org/packages/source/A/Attic/Attic-0.16.tar.gz"
checksum=6650cd28072101c2e05941e77b93a62f91da6179785e4e4b4880916c469bba2c
pre_build() {
if [ "$CROSS_BUILD" ]; then
sed -i "s|\(possible_openssl_prefixes\) =.*|\1 = ['${XBPS_CROSS_BASE}/usr']|" setup.py
fi
}
2014-12-18 13:11:32 +01:00
post_build() {
PYTHONPATH=.. make -C docs man SPHINXBUILD=sphinx-build3
}
post_install() {
2015-02-18 18:07:02 +01:00
vlicense LICENSE
vman docs/_build/man/attic-deduplicatingarchiver.1 attic.1
2014-12-18 13:11:32 +01:00
}