New package: libsearpc-3.0.7

This commit is contained in:
yopito 2016-02-02 18:06:29 +01:00
parent b9d7386077
commit 6f7292b6d2
4 changed files with 48 additions and 0 deletions

View File

@ -2336,3 +2336,4 @@ libavresample.so.2 libavresample-2.8.5_3
libpqxx-4.0.so libpqxx-4.0.1_1
libndpi.so.1 ndpi-1.6_1
liblog4cxx.so.10 log4cxx-0.10.0_1
libsearpc.so.1 libsearpc-3.0.7_1

1
srcpkgs/libsearpc-codegen Symbolic link
View File

@ -0,0 +1 @@
libsearpc

1
srcpkgs/libsearpc-devel Symbolic link
View File

@ -0,0 +1 @@
libsearpc

View File

@ -0,0 +1,45 @@
# Template file for 'libsearpc'
pkgname=libsearpc
version=3.0.7
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-compile-demo"
hostmakedepends="automake libtool pkg-config python"
makedepends="glib-devel jansson-devel"
short_desc="Seafile RPC 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"
checksum=efee6b495f93e70101c87849c78b135014dfd2f0e5c08dcfed9834def47cb939
pre_configure() {
./autogen.sh
}
post_install() {
vdoc "AUTHORS"
vdoc "README.markdown"
}
libsearpc-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
pkg_install() {
vmove "usr/include"
vmove "usr/lib/*.so"
vmove "usr/lib/pkgconfig"
}
}
libsearpc-codegen_package() {
short_desc+=" - code generator"
depends="python"
noarch=yes
pkg_install() {
vdoc "AUTHORS"
vdoc "README.markdown"
vmove "usr/bin/searpc-codegen.py"
}
}