34 lines
934 B
Bash
34 lines
934 B
Bash
# Template file for 'csync'
|
|
pkgname=csync
|
|
version=0.50.0
|
|
revision=4
|
|
build_style=cmake
|
|
configure_args="-DSYSCONF_INSTALL_DIR=/etc"
|
|
conf_files="/etc/csync/csync.conf /etc/csync/csync_exclude.conf"
|
|
hostmakedepends="pkg-config asciidoc"
|
|
makedepends="sqlite-devel libssh-devel samba-devel neon-devel"
|
|
short_desc="Client only bidirectional file synchronizer"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://csync.org/"
|
|
distfiles="https://gentoo.osuosl.org/distfiles/3e/csync-${version}.tar.xz"
|
|
checksum=c07526942a93c1e213d354dc45fd61fbc0430c60e109e7a2f0fcaf6213a45c86
|
|
|
|
pre_configure() {
|
|
sed -i cmake/Modules/DefineCompilerFlags.cmake \
|
|
-e's; -pedantic-errors;;'
|
|
}
|
|
|
|
post_build() {
|
|
cd ${wrksrc}/doc
|
|
./makeman.sh csync.1.txt
|
|
}
|
|
|
|
csync-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|