From 6f7292b6d2f7c1cd2ebcdc6b9a78a969af0444b9 Mon Sep 17 00:00:00 2001 From: yopito Date: Tue, 2 Feb 2016 18:06:29 +0100 Subject: [PATCH] New package: libsearpc-3.0.7 --- common/shlibs | 1 + srcpkgs/libsearpc-codegen | 1 + srcpkgs/libsearpc-devel | 1 + srcpkgs/libsearpc/template | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 120000 srcpkgs/libsearpc-codegen create mode 120000 srcpkgs/libsearpc-devel create mode 100644 srcpkgs/libsearpc/template diff --git a/common/shlibs b/common/shlibs index 921d3e182f3..ab3dc956866 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/libsearpc-codegen b/srcpkgs/libsearpc-codegen new file mode 120000 index 00000000000..6a59842498a --- /dev/null +++ b/srcpkgs/libsearpc-codegen @@ -0,0 +1 @@ +libsearpc \ No newline at end of file diff --git a/srcpkgs/libsearpc-devel b/srcpkgs/libsearpc-devel new file mode 120000 index 00000000000..6a59842498a --- /dev/null +++ b/srcpkgs/libsearpc-devel @@ -0,0 +1 @@ +libsearpc \ No newline at end of file diff --git a/srcpkgs/libsearpc/template b/srcpkgs/libsearpc/template new file mode 100644 index 00000000000..3f9a17c5946 --- /dev/null +++ b/srcpkgs/libsearpc/template @@ -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 " +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" + } +}