libseccomp: add seccomp-syscalls.h to InstallDev

In the version 2.4.2, there was introduced a new header file.
Ship it to InstallDev

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
Josef Schlehofer 2020-01-16 12:45:15 +01:00
parent 3ab34b50db
commit 072fcb5ce4
No known key found for this signature in database
GPG key ID: B950216FE4329F4C

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libseccomp PKG_NAME:=libseccomp
PKG_VERSION:=2.4.2 PKG_VERSION:=2.4.2
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_USE_MIPS16:=0 PKG_USE_MIPS16:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@ -66,15 +66,10 @@ endef
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib/pkgconfig $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib/pkgconfig
$(CP) \ $(CP) $(PKG_INSTALL_DIR)/usr/include/seccomp.h $(1)/usr/include/
$(PKG_INSTALL_DIR)/usr/include/seccomp.h \ $(CP) $(PKG_INSTALL_DIR)/usr/include/seccomp-syscalls.h $(1)/usr/include/
$(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libseccomp.{a,so*} $(1)/usr/lib/
$(CP) \ $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libseccomp.pc $(1)/usr/lib/pkgconfig/
$(PKG_INSTALL_DIR)/usr/lib/libseccomp.{a,so*} \
$(1)/usr/lib/
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libseccomp.pc \
$(1)/usr/lib/pkgconfig/
endef endef
define Package/libseccomp/install define Package/libseccomp/install