2 # Copyright (C) 2014 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
10 PKG_NAME
:=rpcd-mod-lxc
15 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)
17 include $(INCLUDE_DIR
)/package.mk
18 include $(INCLUDE_DIR
)/cmake.mk
20 define Package
/rpcd-mod-lxc
23 TITLE
:=LXC rpcd module
24 DEPENDS
:=+rpcd
+liblxc
25 MAINTAINER
:=Luka Perkov
<luka@openwrt.org
>
29 $(CP
) .
/files
/* $(PKG_BUILD_DIR
)/
32 define Package
/rpcd-mod-lxc
/install
33 $(INSTALL_DIR
) $(1)/usr
/lib
/rpcd
34 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/lib
/lxc.so
$(1)/usr
/lib
/rpcd
/
37 $(eval
$(call BuildPackage
,rpcd-mod-lxc
))