-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
36 lines (27 loc) · 887 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
include $(TOPDIR)/rules.mk
PKG_NAME:=modeminfo
PKG_VERSION:=1.8
PKG_RELEASE:=1
PKG_MAINTAINER:=Vladislav Kadulin <spanky@yandex.ru>
PKG_LICENSE:=GPLv3
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/$(PKG_NAME)
SECTION:=utils
DEFAULT:=y
CATEGORY:=Utilities
TITLE:=The $(PKG_NAME) was developed for luci-app-modeminfo backend.
DEPENDS:=$(DRV_DEPENDS) +libstdcpp +cJSON +glib2 +libqmi
endef
define Package/$(PKG_NAME)/description
The $(PKG_NAME) was specially developed for the luci-app-modeminfo backend.
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./build/* $(PKG_BUILD_DIR)/
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
endef
$(eval $(call BuildPackage,$(PKG_NAME)))