void-packages/srcpkgs/librsync/template
2016-01-11 17:20:03 +01:00

29 lines
806 B
Bash

# Template file for 'librsync'
pkgname=librsync
version=2.0.0
revision=1
build_style=cmake
configure_args="-DCMAKE_SYSTEM_PROCESSOR=$XBPS_TARGET_MACHINE"
hostmakedepends="cmake perl"
makedepends="zlib-devel bzip2-devel popt-devel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://librsync.sourceforge.net/"
license="LGPL-2.1"
short_desc="A library that implements the rsync remote-delta algorithm (rdiff)"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=b5c4dd114289832039397789e42d4ff0d1108ada89ce74f1999398593fae2169
post_install() {
vman doc/rdiff.1
}
librsync-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vman doc/librsync.3
}
}