<commit_before>DESCRIPTION = "RDM HP BLOB" 
HOMEPAGE = "http://www.rademacher.de"
LICENSE = "commercial"
LIC_FILES_CHKSUM = "file://${THISDIR}/files/license.txt;md5=3ebe3464e841ddbf115af1f7019017c5"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

DEPENDS = "tar "
PV = "4.0.0.0"
SRC_URI = "svn://192.168.1.186/svn/EW_Prj/trunk/;protocol=http;module=HomePilot_Blob;rev=3655"

S = "${WORKDIR}/HomePilot_Blob"

INST_DEST_PREFIX="/opt/homepilot"
TARBALL_NAME="hp-dist_${PV}.tar.gz"

inherit update-rc.d

do_install() {
	# create init.d directory
	install -d ${D}${sysconfdir}/init.d/
	
	# install init.d script and make it executable
	install -m 0755 ${S}/init.d/homepilot ${D}${sysconfdir}/init.d/homepilot
	
	# create INST_DEST_PREFIX folder
	install -d ${D}${INST_DEST_PREFIX}

	# Extract tarball into INST_DEST_PREFIX dir of target
	tar xzf ${S}/${TARBALL_NAME} -C ${D}${INST_DEST_PREFIX}

	# Clean-up messed up so-files from Jetty distribution ... 
	find ${D}${INST_DEST_PREFIX} -name '*.so' | xargs rm -f
	
	# fix rights of gpg keyfolder
	chmod -R 700 ${D}${INST_DEST_PREFIX}/etc/homepilot/2/gpg
}

FILES_${PN} += "/opt/homepilot \
		"

RDEPENDS_${PN} += "at"
RDEPENDS_${PN} += "gnupg"

INITSCRIPT_NAME = "homepilot"
INITSCRIPT_PARAMS = "start 95 S . stop 20 0 1 6 ."<commit_msg>put HP startup script to RC5, not S<commit_after>DESCRIPTION = "RDM HP BLOB" 
HOMEPAGE = "http://www.rademacher.de"
LICENSE = "commercial"
LIC_FILES_CHKSUM = "file://${THISDIR}/files/license.txt;md5=3ebe3464e841ddbf115af1f7019017c5"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

DEPENDS = "tar "
PV = "4.0.0.0"
SRC_URI = "svn://192.168.1.186/svn/EW_Prj/trunk/;protocol=http;module=HomePilot_Blob;rev=3655"

S = "${WORKDIR}/HomePilot_Blob"

INST_DEST_PREFIX="/opt/homepilot"
TARBALL_NAME="hp-dist_${PV}.tar.gz"

inherit update-rc.d

do_install() {
	# create init.d directory
	install -d ${D}${sysconfdir}/init.d/
	
	# install init.d script and make it executable
	install -m 0755 ${S}/init.d/homepilot ${D}${sysconfdir}/init.d/homepilot
	
	# create INST_DEST_PREFIX folder
	install -d ${D}${INST_DEST_PREFIX}

	# Extract tarball into INST_DEST_PREFIX dir of target
	tar xzf ${S}/${TARBALL_NAME} -C ${D}${INST_DEST_PREFIX}

	# Clean-up messed up so-files from Jetty distribution ... 
	find ${D}${INST_DEST_PREFIX} -name '*.so' | xargs rm -f
	
	# fix rights of gpg keyfolder
	chmod -R 700 ${D}${INST_DEST_PREFIX}/etc/homepilot/2/gpg
}

FILES_${PN} += "/opt/homepilot \
		"

RDEPENDS_${PN} += "at"
RDEPENDS_${PN} += "gnupg"

INITSCRIPT_NAME = "homepilot"
INITSCRIPT_PARAMS = "start 99 5 . stop 20 0 1 6 ."
{'fraction_non_alphanumeric': 0.16369969040247678, 'fraction_numerical': 0.04256965944272446, 'mean_word_length': 4.64410480349345, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 4, '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': '7569733', 'n_tokens_mistral': 1205, 'n_tokens_neox': 1089, 'n_words': 209}