Browse Source

ccnet: fix build.sh

emacs-27
Leonid Plyushch 6 years ago
parent
commit
430d1d7935
  1. 10
      packages/ccnet/build.sh

10
packages/ccnet/build.sh

@ -1,20 +1,18 @@
TERMUX_PKG_HOMEPAGE=https://github.com/haiwen/ccnet 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_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_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_DEPENDS="libuuid, libevent, libsearpc, libsqlite, openssl"
TERMUX_PKG_BUILD_DEPENDS="libtool"
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() { termux_step_pre_configure() {
./autogen.sh ./autogen.sh
} }
termux_step_post_configure() { termux_step_post_configure() {
# the package has trouble to prepare some headers # 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 python $TERMUX_PREFIX/bin/searpc-codegen.py ../lib/rpc_table.py
cd ..
} }

Loading…
Cancel
Save