1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE
:=fstrm-
$(PKG_VERSION
).
tar.gz
8 PKG_SOURCE_URL
:=https
://dl.farsightsecurity.com
/dist/fstrm
/
9 PKG_HASH
:=10ee7792a86face1d2271dc591652ab8c7af6976883887c69fdb11f10da135fc
11 PKG_BUILD_DIR
:=$(BUILD_DIR
)/fstrm-
$(PKG_VERSION
)
13 PKG_MAINTAINER
:=James Taylor
<james@jtaylor.id.au
>
15 PKG_LICENSE_FILES
:=LICENSE
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/libfstrm
26 TITLE
:=C implementation of the Frame Streams data transport protocol
27 URL
:=https
://github.com
/farsightsec
/fstrm
30 define Package
/libfstrm
/description
31 fstrm is an optimized C implementation of Frame Streams that includes a fast
,
32 lockless circular queue implementation and exposes library interfaces for
33 setting up a dedicated Frame Streams I
/O thread and asynchronously submitting
34 data frames for transport from worker threads. It was originally written to
35 facilitate the addition of high speed binary logging to DNS servers written
36 in C using the dnstap log format.
42 define Build
/InstallDev
43 $(INSTALL_DIR
) $(1)/usr
/include
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/*.h
$(1)/usr
/include/
46 $(INSTALL_DIR
) $(1)/usr
/include/fstrm
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/fstrm
/*.h
$(1)/usr
/include/fstrm
/
49 $(INSTALL_DIR
) $(1)/usr
/lib
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libfstrm.
{a
,so
*} $(1)/usr
/lib
/
52 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libfstrm.
pc $(1)/usr
/lib
/pkgconfig
/
56 define Package
/libfstrm
/install
57 $(INSTALL_DIR
) $(1)/usr
/lib
58 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/lib
/libfstrm.so
* $(1)/usr
/lib
/
61 $(eval
$(call BuildPackage
,libfstrm
))