void-packages/srcpkgs/ccnet/template
2018-06-30 20:36:15 +02:00

44 lines
1.1 KiB
Bash

# Template file for 'ccnet'
pkgname=ccnet
version=6.1.8
revision=3
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
}
}