ath9k: fix PS-Poll frame reception in AP mode on AR91xx and earlier - should fix...
[openwrt.git] / package / ubus / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=ubus
4 PKG_VERSION:=2011-02-26
5 PKG_RELEASE=$(PKG_SOURCE_VERSION)
6
7 PKG_SOURCE_PROTO:=git
8 PKG_SOURCE_URL:=git://nbd.name/luci2/ubus.git
9 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
10 PKG_SOURCE_VERSION:=6cf4326987c78ecc340930b48fce5b324c8d6a4d
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
12 CMAKE_INSTALL:=1
13
14 include $(INCLUDE_DIR)/package.mk
15 include $(INCLUDE_DIR)/cmake.mk
16
17 define Package/ubus
18 SECTION:=luci2
19 CATEGORY:=LuCI2
20 SUBMENU:=System
21 DEPENDS:=+libubus +libblobmsg-json +ubusd
22 TITLE:=OpenWrt RPC client utility
23 endef
24
25 define Package/ubusd
26 SECTION:=luci2
27 CATEGORY:=LuCI2
28 SUBMENU:=System
29 TITLE:=OpenWrt RPC daemon
30 endef
31
32 define Package/libubus
33 SECTION:=luci2
34 CATEGORY:=LuCI2
35 SUBMENU:=Libraries
36 DEPENDS:=+libubox
37 TITLE:=OpenWrt RPC client library
38 endef
39
40 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
41
42 define Package/ubus/install
43 $(INSTALL_DIR) $(1)/bin
44 $(CP) $(PKG_INSTALL_DIR)/usr/bin/ubus $(1)/bin/
45 endef
46
47 define Package/ubusd/install
48 $(INSTALL_DIR) $(1)/sbin
49 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/ubusd $(1)/sbin/
50 endef
51
52 define Package/libubus/install
53 $(INSTALL_DIR) $(1)/lib
54 $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/lib/
55 endef
56
57 $(eval $(call BuildPackage,ubus))
58 $(eval $(call BuildPackage,ubusd))
59 $(eval $(call BuildPackage,libubus))
60
This page took 0.041141 seconds and 5 git commands to generate.