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.

35 lines
748 B

  1. #
  2. # Copyright (C) 2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=rpcd-mod-lxc
  9. PKG_RELEASE=20141012
  10. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  11. include $(INCLUDE_DIR)/package.mk
  12. include $(INCLUDE_DIR)/cmake.mk
  13. define Package/rpcd-mod-lxc
  14. SECTION:=libs
  15. CATEGORY:=Libraries
  16. TITLE:=LXC rpcd module
  17. DEPENDS:=+rpcd +liblxc
  18. MAINTAINER:=Luka Perkov <luka@openwrt.org>
  19. endef
  20. define Build/Prepare
  21. $(CP) ./files/* $(PKG_BUILD_DIR)/
  22. endef
  23. define Package/rpcd-mod-lxc/install
  24. $(INSTALL_DIR) $(1)/usr/lib/rpcd
  25. $(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/lxc.so $(1)/usr/lib/rpcd/
  26. endef
  27. $(eval $(call BuildPackage,rpcd-mod-lxc))