38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
# Template file for 'ccnet'
|
|
pkgname=ccnet
|
|
version=6.1.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
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.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=c6ecec39b21dc92489f77b1975d808f6e7898fcbe623e3fb22dd5a39e1a8faf4
|
|
|
|
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() {
|
|
vdoc "README.markdown"
|
|
vdoc "LICENSE.txt"
|
|
vdoc "HACKING"
|
|
vmove "usr/include"
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/pkgconfig"
|
|
}
|
|
}
|