<commit_before>DESCRIPTION = "This software will proide the HomePilot2 Service Monitor e.g :81 Interface"
HOMEPAGE = "http://www.rademacher.de"

LICENSE = "commercial"
LIC_FILES_CHKSUM = "file://${THISDIR}/files/license.txt;md5=3ebe3464e841ddbf115af1f7019017c5"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

RDEPENDS_${PN} += "dancer2-perl yaml-libyaml-perl file-slurp-tiny-perl"
RDEPENDS_${PN} += "unix-statgrab-perl"
RDEPENDS_${PN} += "scalar-list-utils-perl"
RDEPENDS_${PN} += "perl-modules"

PV = "0.1"

SRC_URI = "svn://192.168.1.186/svn/EW_Prj/trunk/;protocol=http;module=hp2sm;rev=3596"
S = "${WORKDIR}/hp2sm/src"

inherit update-rc.d

ALTERNATIVE_PRIORITY = "100"
ALTERNATIVE_LINK_NAME[hp2sm] = "${D}${sysconfdir}/init.d/hp2sm"

do_install() {
	#create init.d directory
	install -d ${D}${sysconfdir}/init.d
	
	#install init.d script and make it executable
	install -m 0755 ${THISDIR}/files/hp2sm ${D}${sysconfdir}/init.d/
	
	#create directory for source
	install -d ${D}/opt/rdm/hp2sm
	#copy all
	(cd ${S} && tar cf - .) | (cd ${D}/opt/rdm/hp2sm && tar xf -)
}

FILES_${PN} += "/opt/rdm/hp2sm"

INITSCRIPT_NAME = "hp2sm"
INITSCRIPT_PARAMS = "start 99 3 5 . stop 20 0 1 6 ."<commit_msg>Added WR-Connect frontend to :81 App<commit_after>DESCRIPTION = "This software will proide the HomePilot2 Service Monitor e.g :81 Interface"
HOMEPAGE = "http://www.rademacher.de"

LICENSE = "commercial"
LIC_FILES_CHKSUM = "file://${THISDIR}/files/license.txt;md5=3ebe3464e841ddbf115af1f7019017c5"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

RDEPENDS_${PN} += "dancer2-perl yaml-libyaml-perl file-slurp-tiny-perl"
RDEPENDS_${PN} += "unix-statgrab-perl"
RDEPENDS_${PN} += "scalar-list-utils-perl"
RDEPENDS_${PN} += "perl-modules"

PV = "0.1"

SRC_URI = "svn://192.168.1.186/svn/EW_Prj/trunk/;protocol=http;module=hp2sm;rev=3602"
S = "${WORKDIR}/hp2sm/src"

inherit update-rc.d

ALTERNATIVE_PRIORITY = "100"
ALTERNATIVE_LINK_NAME[hp2sm] = "${D}${sysconfdir}/init.d/hp2sm"

do_install() {
	#create init.d directory
	install -d ${D}${sysconfdir}/init.d
	
	#install init.d script and make it executable
	install -m 0755 ${THISDIR}/files/hp2sm ${D}${sysconfdir}/init.d/
	
	#create directory for source
	install -d ${D}/opt/rdm/hp2sm
	#copy all
	(cd ${S} && tar cf - .) | (cd ${D}/opt/rdm/hp2sm && tar xf -)
}

FILES_${PN} += "/opt/rdm/hp2sm"

INITSCRIPT_NAME = "hp2sm"
INITSCRIPT_PARAMS = "start 99 3 5 . stop 20 0 1 6 ."
{'fraction_non_alphanumeric': 0.17654372150849565, 'fraction_numerical': 0.055532532117695814, 'mean_word_length': 4.788968824940048, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4203447', 'n_tokens_mistral': 1139, 'n_tokens_neox': 1027, 'n_words': 189}