Merge pull request #3529 from yopito/seafile.libsearpc

New package: libsearpc-3.0.7
This commit is contained in:
Juan RP 2016-02-06 07:30:59 +01:00
commit b58e065b00
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"
}
}