blob: c0eaddc03cc26351ed27a6a0e7f944e3af173fe5 (
plain)
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
37
38
39
40
|
#
# Copyright (C) 2012 Jo-Philipp Wich <xm@subsignal.org>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=query3g
PKG_RELEASE:=2
include $(INCLUDE_DIR)/package.mk
define Package/query3g
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+usbreset +comgt +luci-lib-web
TITLE:=Utility to find 3G dongle information
MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org>
endef
define Package/query3g/description
This package contains the small query3g utility to find 3G dongle information.
endef
define Build/Compile
endef
define Package/query3g/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) ./files/query3g.sh $(1)/usr/bin/query3g
$(INSTALL_BIN) ./files/query3g_setup.sh $(1)/usr/bin/query3g_setup
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) ./files/luci-3g-detect $(1)/sbin/
$(INSTALL_DIR) $(1)/usr/share
$(INSTALL_DATA) ./files/query3g.gcom $(1)/usr/share/query3g.gcom
endef
$(eval $(call BuildPackage,query3g))
|