mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
15 lines
396 B
Makefile
15 lines
396 B
Makefile
PKG_NAME=ccn-lite
|
|
PKG_URL=https://github.com/cn-uofbasel/ccn-lite/
|
|
PKG_VERSION=0474080335aac08d3afa44a439ac9def92b9fcf3
|
|
PKG_LICENSE=ISC
|
|
|
|
.PHONY: all
|
|
|
|
export RIOT_CFLAGS = ${CFLAGS} ${INCLUDES}
|
|
|
|
all: git-download
|
|
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
|
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|