void-packages/srcpkgs/ccnet/template
maxice8 1a3ad6efa3 ccnet: update to 6.1.8.
Closes #14240.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-09 14:18:25 +02:00

44 lines
1.1 KiB
Bash

# Template file for 'ccnet'
pkgname=ccnet
version=6.1.8
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake libsearpc-codegen libtool pkg-config vala"
makedepends="libevent-devel libsearpc-devel sqlite-devel"
short_desc="Seafile networking library"
maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-3.0-or-later"
homepage="https://github.com/haiwen/${pkgname}"
distfiles="https://github.com/haiwen/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=b55636bf95232dc1db70d3604d0bebb7c3d730292d15b9b6c5b951307eb69762
pre_configure() {
./autogen.sh
}
post_install() {
vdoc README.markdown
vdoc LICENSE.txt
vdoc HACKING
}
ccnet-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}
ccnet-python_package() {
noarch=yes
pycompile_module="ccnet"
depends="ccnet"
short_desc="Python2 bindings"
pkg_install() {
vmove usr/lib/python2.7
}
}