2015-09-20 02:17:37 +02:00
|
|
|
# Template file for 'csync'
|
|
|
|
pkgname=csync
|
|
|
|
version=0.50.0
|
2016-10-14 22:35:39 +02:00
|
|
|
revision=3
|
2015-09-20 02:17:37 +02:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DSYSCONF_INSTALL_DIR=/etc"
|
|
|
|
conf_files="/etc/csync/csync.conf /etc/csync/csync_exclude.conf"
|
2015-10-15 20:25:10 +02:00
|
|
|
hostmakedepends="cmake pkg-config asciidoc"
|
2015-09-20 02:17:37 +02:00
|
|
|
makedepends="sqlite-devel"
|
|
|
|
short_desc="A client only bidirectional file synchronizer"
|
|
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://csync.org"
|
|
|
|
distfiles="http://git.csync.org/projects/csync.git/snapshot/csync-${version}.tar.bz2"
|
|
|
|
checksum=72e95f6924ca01783afcfc9c68d416a50e0bec979cf4e1fc414df352210d6a0f
|
|
|
|
|
2016-10-14 22:35:39 +02:00
|
|
|
pre_configure() {
|
|
|
|
sed -i cmake/Modules/DefineCompilerFlags.cmake \
|
|
|
|
-e's; -pedantic-errors;;'
|
|
|
|
}
|
|
|
|
|
2015-10-15 20:25:10 +02:00
|
|
|
post_build() {
|
|
|
|
cd ${wrksrc}/doc
|
|
|
|
./makeman.sh csync.1.txt
|
|
|
|
}
|
|
|
|
|
2015-09-20 02:17:37 +02:00
|
|
|
csync-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|