hasufell-repository/packages/net-libs/libsearpc/libsearpc-3.2.0.exheres-0

42 lines
1.1 KiB
Bash
Raw Normal View History

2018-06-09 02:05:55 +00:00
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require python [ blacklist=3 has_bin=true multibuild=false ]
2018-09-15 13:26:20 +00:00
require github [ user=haiwen tag="v${PV}" ]
2018-06-09 02:05:55 +00:00
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
SUMMARY="A simple C language RPC framework (including both server side & client side)"
2020-01-28 18:01:11 +00:00
DOWNLOADS="https://github.com/haiwen/libsearpc/archive/v3.2-latest.tar.gz -> ${PNV}.tar.gz"
2018-06-09 02:05:55 +00:00
LICENCES="Apache-2.0"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build:
virtual/pkg-config
build+run:
dev-libs/glib:2
dev-libs/jansson
run:
2020-01-28 18:01:11 +00:00
dev-python/future[python_abis:*(-)?]
2018-06-09 02:05:55 +00:00
dev-python/simplejson[python_abis:*(-)?]
"
BUGS_TO="hasufell@posteo.de"
2020-01-28 18:01:11 +00:00
WORK=${WORKBASE}/libsearpc-3.2-latest
2018-06-09 02:05:55 +00:00
src_prepare() {
default
edo sed -i -e "s/(DESTDIR)//" ${PN}.pc.in
eautoreconf
}
src_install() {
default
edo sed -i -e "s:env python[[:digit:].]*$:env ${PYTHON##*/}:" \
"${IMAGE}"/usr/$(exhost --target)/bin/searpc-codegen.py
}