28 lines
840 B
Bash
28 lines
840 B
Bash
# Template file for 'librsync'
|
|
pkgname=librsync
|
|
version=1.0.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-shared"
|
|
hostmakedepends="automake libtool"
|
|
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>${pkgname}-${version}.tar.gz"
|
|
checksum=2195998516960ce84d93f88ee3bfd92f430a16cdba4b5d34560a39fa13fcafd9
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
librsync-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|