1
0

Makefile 766 B

12345678910111213141516171819202122232425262728293031323334353637
  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_LICENSE:=ISC
  11. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  12. include $(INCLUDE_DIR)/package.mk
  13. include $(INCLUDE_DIR)/cmake.mk
  14. define Package/rpcd-mod-lxc
  15. SECTION:=libs
  16. CATEGORY:=Libraries
  17. TITLE:=LXC rpcd module
  18. DEPENDS:=+rpcd +liblxc
  19. MAINTAINER:=Luka Perkov <luka@openwrt.org>
  20. endef
  21. define Build/Prepare
  22. $(CP) ./files/* $(PKG_BUILD_DIR)/
  23. endef
  24. define Package/rpcd-mod-lxc/install
  25. $(INSTALL_DIR) $(1)/usr/lib/rpcd
  26. $(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/lxc.so $(1)/usr/lib/rpcd/
  27. endef
  28. $(eval $(call BuildPackage,rpcd-mod-lxc))