# Template file for 'ccnet' pkgname=ccnet version=5.1.3 revision=1 build_style=gnu-configure configure_args="--disable-static --disable-compile-demo" hostmakedepends="automake libtool pkg-config python vala libsearpc-codegen" makedepends="glib-devel sqlite-devel libressl-devel libevent-devel libuuid-devel libsearpc-devel" short_desc="Seafile networking library" maintainer="yopito " license="GPL-3" homepage="https://github.com/haiwen/${pkgname}" distfiles="https://github.com/haiwen/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=47683305d5ba55d18213dc3114f03caa4c47ec4685bdd370953b0a188f8a6130 pre_configure() { ./autogen.sh } post_install() { vdoc "README.markdown" vdoc "COPYRIGHT" vdoc "HACKING" } ccnet-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision} ${makedepends}" pkg_install() { vdoc "README.markdown" vdoc "COPYRIGHT" vdoc "HACKING" vmove "usr/include" vmove "usr/lib/*.so" vmove "usr/lib/pkgconfig" } }