summaryrefslogtreecommitdiffstats
path: root/master/galaxy-tools
blob: c5cd3cd4f3a80a9504ab92f6d3c831ed05f05993 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
diff --git a/package/jmm/galaxy_tools/Makefile b/package/jmm/galaxy_tools/Makefile
new file mode 100644
index 0000000..6405116
--- /dev/null
+++ b/package/jmm/galaxy_tools/Makefile
@@ -0,0 +1,50 @@
+#
+# Copyright (C) 2009 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:=galaxy-tools
+PKG_VERSION:=2020-10-31
+PKG_RELEASE=$(PKG_SOURCE_VERSION)
+
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_URL:=git://git.panaceas.org/galaxy/galaxy_tools
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_VERSION:=master
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.bz2
+
+
+PKG_NAME:=galaxy-tools
+PKG_RELEASE:=1
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/galaxy-tools
+  SECTION:=utils
+  CATEGORY:=Utilities
+  TITLE:=galaxy alarm tools
+  DEPENDS:= +libncursesw
+  VERSION:=1
+  MAINTAINER:=me <me@here>
+endef
+
+define Package/galaxy-tools/description
+  Tools for controlling galaxy dimension alarm panels
+endef
+
+define Build/Compile
+	make -C ${PKG_BUILD_DIR} CC=$(TARGET_CC)
+endef
+
+define Package/galaxy-tools/install
+	make -C $(PKG_BUILD_DIR) CC=${TARGET_CC} \
+		DESTDIR="$(1)" \
+		PREFIX=/usr \
+		install
+endef
+
+$(eval $(call BuildPackage,galaxy-tools))