mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
rpcd-mod-lxc: add package for rpcd lxc module
Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#
|
||||
# Copyright (C) 2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=rpcd-mod-lxc
|
||||
PKG_RELEASE=20141012
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
|
||||
define Package/rpcd-mod-lxc
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
TITLE:=LXC rpcd module
|
||||
DEPENDS:=+rpcd +liblxc
|
||||
MAINTAINER:=Luka Perkov <luka@openwrt.org>
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
$(CP) ./files/* $(PKG_BUILD_DIR)/
|
||||
endef
|
||||
|
||||
define Package/rpcd-mod-lxc/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/rpcd
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/lxc.so $(1)/usr/lib/rpcd/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,rpcd-mod-lxc))
|
||||
Reference in New Issue
Block a user