2015-10-26 17:41:01 +01:00
|
|
|
PKG_NAME=ccn-lite
|
2016-03-23 12:14:45 +01:00
|
|
|
PKG_URL=https://github.com/cn-uofbasel/ccn-lite/
|
2018-02-02 10:54:10 +01:00
|
|
|
PKG_VERSION=8b17f2b43f337242dce3175efd95f5439cf4a4f5
|
2017-01-08 21:54:34 +01:00
|
|
|
PKG_LICENSE=ISC
|
2015-10-26 17:41:01 +01:00
|
|
|
|
2016-03-22 18:29:45 +01:00
|
|
|
.PHONY: all
|
2015-10-26 17:41:01 +01:00
|
|
|
|
|
|
|
export RIOT_CFLAGS = ${CFLAGS} ${INCLUDES}
|
|
|
|
|
2016-03-23 16:38:19 +01:00
|
|
|
all: git-download
|
2017-07-26 23:22:01 +02:00
|
|
|
cd $(PKG_BUILDDIR)/src && cmake -DCCNL_RIOT=1 -DRIOT_CFLAGS="${RIOT_CFLAGS}" . && make
|
|
|
|
cp $(PKG_BUILDDIR)/src/lib/libccnl-riot.a ${BINDIR}/ccn-lite.a
|
2015-10-26 17:41:01 +01:00
|
|
|
|
2016-03-22 18:29:45 +01:00
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|