void-packages/srcpkgs/ccnet/template

40 lines
1.0 KiB
Bash
Raw Normal View History

# Template file for 'ccnet'
pkgname=ccnet
2016-04-29 12:36:23 +02:00
version=5.1.1
2016-04-14 13:15:12 +02:00
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 <pierre.bourgin@free.fr>"
license="GPL-3"
homepage="https://github.com/haiwen/${pkgname}"
distfiles="https://github.com/haiwen/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
2016-04-29 12:36:23 +02:00
checksum=1e86961e1daaac1cee9eab92a2671696e83b45b241f611cfeff1e2982f1cab0d
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"
}
}