From 2e7b545c747d7c0e84b5dfbb103365e9ec89cfc2 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Thu, 25 Jul 2019 17:24:25 +0300 Subject: [PATCH] ccnet: fix build.sh --- packages/ccnet/build.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/ccnet/build.sh b/packages/ccnet/build.sh index 8cfafe9156..10dbebb661 100644 --- a/packages/ccnet/build.sh +++ b/packages/ccnet/build.sh @@ -1,20 +1,18 @@ TERMUX_PKG_HOMEPAGE=https://github.com/haiwen/ccnet -TERMUX_PKG_DESCRIPTION="Ccnet is a framework for writing networked applications in C." +TERMUX_PKG_DESCRIPTION="Ccnet is a framework for writing networked applications in C" +TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_VERSION=6.1.7 -TERMUX_PKG_SHA256=f9c81586181a8f331d3b00f334003e6b3f1af774f647cba30d5c9f9c546f7fce TERMUX_PKG_SRCURL=https://github.com/haiwen/ccnet/archive/v${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_SHA256=f9c81586181a8f331d3b00f334003e6b3f1af774f647cba30d5c9f9c546f7fce TERMUX_PKG_DEPENDS="libuuid, libevent, libsearpc, libsqlite, openssl" -TERMUX_PKG_BUILD_DEPENDS="libtool" TERMUX_PKG_BUILD_IN_SRC=yes - termux_step_pre_configure() { ./autogen.sh } termux_step_post_configure() { # the package has trouble to prepare some headers - cd lib + cd $TERMUX_PKG_SRCDIR/lib python $TERMUX_PREFIX/bin/searpc-codegen.py ../lib/rpc_table.py - cd .. }