2018-04-28 12:28:40 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/haiwen/ccnet
|
2019-07-25 16:24:25 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Ccnet is a framework for writing networked applications in C"
|
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2019-07-25 17:06:16 +02:00
|
|
|
TERMUX_PKG_VERSION=6.1.8
|
2019-07-29 11:11:20 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2018-04-28 12:28:40 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/haiwen/ccnet/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2019-07-25 17:06:16 +02:00
|
|
|
TERMUX_PKG_SHA256=b55636bf95232dc1db70d3604d0bebb7c3d730292d15b9b6c5b951307eb69762
|
2018-04-28 12:28:40 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libuuid, libevent, libsearpc, libsqlite, openssl"
|
2019-07-29 11:11:20 +02:00
|
|
|
TERMUX_PKG_BREAKS="ccnet-dev"
|
|
|
|
TERMUX_PKG_REPLACES="ccnet-dev"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2018-04-28 12:28:40 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_configure() {
|
|
|
|
# the package has trouble to prepare some headers
|
2019-07-25 16:24:25 +02:00
|
|
|
cd $TERMUX_PKG_SRCDIR/lib
|
2018-04-28 12:28:40 +02:00
|
|
|
python $TERMUX_PREFIX/bin/searpc-codegen.py ../lib/rpc_table.py
|
|
|
|
}
|