2 # Copyright (C) 2005-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=https
://github.com
/seccomp
/libseccomp
/releases
/download
/v
$(PKG_VERSION
)/
17 PKG_MD5SUM
:=e9509301a1fc024cd10127ac1f31792a
18 PKG_MAINTAINER
:=Nikos Mavrogiannopoulos
<nmav@gnutls.org
>
21 PKG_LIBTOOL_PATHS
:=. lib
22 PKG_CHECK_FORMAT_SECURITY
:=0
24 include $(INCLUDE_DIR
)/package.mk
27 define Package
/libseccomp
/Default
32 URL
:=https
://github.com
/seccomp
/libseccomp
/wiki
35 define Package
/libseccomp
/Default
/description
36 The libseccomp library provides an easy to use
, platform independent
, interface
37 to the Linux Kernel
's syscall filtering mechanism. The libseccomp API is
38 designed to abstract away the underlying BPF based syscall filter language and
39 present a more conventional function-call based filtering interface that should
40 be familiar to, and easily adopted by, application developers.
43 define Package/libseccomp
44 $(call Package/libseccomp/Default)
49 define Package/libseccomp/description
50 This package contains the seccomp library.
53 define Build/Configure
54 $(call Build/Configure/Default)
57 define Build/InstallDev
58 $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib/pkgconfig
60 $(PKG_INSTALL_DIR)/usr/include/seccomp.h \
63 $(PKG_INSTALL_DIR)/usr/lib/libseccomp.{a,so*} \
66 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libseccomp.pc \
67 $(1)/usr/lib/pkgconfig/
70 define Package/libseccomp/install
71 $(INSTALL_DIR) $(1)/usr/lib
72 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libseccomp.so.* $(1)/usr/lib/
75 $(eval $(call BuildPackage,libseccomp))