2 # Copyright (C) 2007-2018 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=gkrellm-
$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://gkrellm.srcbox.net
/releases
16 PKG_HASH
:=1ee0643ed9ed99f88c1504c89d9ccb20780cf29319c904b68e80a8e7c8678c06
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/gkrellm-
$(PKG_VERSION
)
19 PKG_MAINTAINER
:=Peter Denison
<openwrt@marshadder.org
>
20 PKG_LICENSE
:=GPL-2.0
-or-later
21 PKG_LICENSE_FILES
:=COPYING
23 include $(INCLUDE_DIR
)/package.mk
24 include $(INCLUDE_DIR
)/nls.mk
26 define Package
/gkrellmd
28 CATEGORY
:=Administration
30 TITLE
:=The GNU Krell Monitors Server
31 URL
:=http
://gkrellm.net
/
34 define Package
/gkrellmd
/description
35 Gkrellmd listens for connections from gkrellm clients. When
36 a gkrellm client connects to a gkrellmd server
all builtin
37 monitors collect their data from the server.
40 define Package
/gkrellmd
/conffiles
45 $(MAKE
) -C
$(PKG_BUILD_DIR
)/server \
47 CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
48 LDFLAGS
="$(TARGET_LDFLAGS) " \
49 without-libsensors
="yes"
52 define Package
/gkrellmd
/install
53 $(INSTALL_DIR
) $(1)/usr
/bin
54 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/server
/$(PKG_NAME
) $(1)/usr
/bin
/
55 $(INSTALL_DIR
) $(1)/etc
56 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/server
/$(PKG_NAME
).conf
$(1)/etc
/
57 $(INSTALL_DIR
) $(1)/etc
/init.d
58 $(INSTALL_BIN
) .
/files
/$(PKG_NAME
).init
$(1)/etc
/init.d
/$(PKG_NAME
)
61 $(eval
$(call BuildPackage
,gkrellmd
))