summaryrefslogtreecommitdiffstats
path: root/package/query3g/Makefile
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2012-10-06 16:47:03 +0300
committerRoman Yeryomin <roman@advem.lv>2012-12-03 00:13:22 +0200
commit2f6bc72d25509b1c1c988619bb9ee31896d5fc10 (patch)
tree80f9a876ed8fa247d925e7764ca5336921399c96 /package/query3g/Makefile
parent6cc390963c977be2e83118d37057d7a317926d9d (diff)
add query3g package
Signed-off-by: Roman <roman@nomad.(none)>
Diffstat (limited to 'package/query3g/Makefile')
-rw-r--r--package/query3g/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/package/query3g/Makefile b/package/query3g/Makefile
new file mode 100644
index 000000000..f18e09903
--- /dev/null
+++ b/package/query3g/Makefile
@@ -0,0 +1,37 @@
+#
+# 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
+ 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_DIR) $(1)/usr/share
+ $(INSTALL_DATA) ./files/query3g.gcom $(1)/usr/share/query3g.gcom
+endef
+
+$(eval $(call BuildPackage,query3g))