# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		gkrellm
PKG_VERSION:=		2.3.4
PKG_RELEASE:=		1
PKG_MD5SUM:=		600f4daa395112ed19a3633deb0829ff
PKG_DESCR:=		The GNU Krell Monitors Server
PKG_SECTION:=		net/misc
PKG_DEPENDS:=		glib libpthread
PKG_BUILDDEP:=		glib
PKG_URL:=		http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html
PKG_SITES:=		http://members.dslextreme.com/users/billw/gkrellm/

WRKSRC=			${WRKDIR}/gkrellm-${PKG_VERSION}/server

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,GKRELLMD,gkrellmd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual
INSTALL_STYLE:=		manual

do-install:
	${INSTALL_DIR} ${IDIR_GKRELLMD}/usr/bin ${IDIR_GKRELLMD}/etc
	${INSTALL_BIN} ${WRKBUILD}/gkrellmd ${IDIR_GKRELLMD}/usr/bin/
	${INSTALL_DATA} ${WRKSRC}/gkrellmd.conf ${IDIR_GKRELLMD}/etc

include ${TOPDIR}/mk/pkg-bottom.mk
