You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.0 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=slirp4netns
  3. PKG_VERSION:=1.1.12
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://github.com/rootless-containers/slirp4netns/archive/v$(PKG_VERSION)
  7. PKG_HASH:=279dfe58a61b9d769f620b6c0552edd93daba75d7761f7c3742ec4d26aaa2962
  8. PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
  9. PKG_LICENSE:=GPL-2.0-or-later
  10. PKG_LICENSE_FILES:=COPYING
  11. PKG_INSTALL:=1
  12. PKG_BUILD_PARALLEL:=1
  13. PKG_FIXUP:=autoreconf
  14. include $(INCLUDE_DIR)/package.mk
  15. include $(INCLUDE_DIR)/nls.mk
  16. define Package/slirp4netns
  17. SECTION:=net
  18. CATEGORY:=Network
  19. TITLE:=slirp4netns
  20. DEPENDS:=@!arc +libslirp +libseccomp +glib2 +libcap
  21. URL:=https://github.com/rootless-containers/slirp4netns
  22. endef
  23. define Package/slirp4netns/description
  24. User-mode networking for unprivileged network namespaces
  25. endef
  26. define Package/slirp4netns/install
  27. $(INSTALL_DIR) $(1)/usr/bin
  28. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/slirp4netns $(1)/usr/bin/
  29. endef
  30. $(eval $(call BuildPackage,slirp4netns))