Skip to content

Instantly share code, notes, and snippets.

@mterwoord
Created October 27, 2017 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mterwoord/dcf5e68fdc60b4e926e86152e25e1a51 to your computer and use it in GitHub Desktop.
Save mterwoord/dcf5e68fdc60b4e926e86152e25e1a51 to your computer and use it in GitHub Desktop.
SUMMARY = "Installs TWCB"
LICENSE = "CLOSED"
PN = 'twcb-app'
SRC_URI = "file://*"
SRCPV = "${export}"
#FILES_SOLIBSDEV = ""
#FILES_${PN} += "/twcbapp/*"
S = "${WORKDIR}"
do_install_append() {
bbdebug 2 "stap 1"
install -d ${D}${bindir}/twcbapp
bbdebug 2 "stap 2"
bbdebug 2 "WorkDir = '${WORKDIR}'"
bbdebug 2 "S = '${S}'"
bbdebug 2 "D = '${D}'"
install -m 0755 ${WORKDIR}/*.dll ${D}${bindir}/twcbapp
install -m 0755 ${WORKDIR}/*.so ${D}${bindir}/twcbapp
install -m 0755 ${WORKDIR}/*.a ${D}${bindir}/twcbapp
install -m 0755 ${WORKDIR}/*.txt ${D}${bindir}/twcbapp
install -m 0755 ${WORKDIR}/*.json ${D}${bindir}/twcbapp
install -m 0755 ${WORKDIR}/*.pdb ${D}${bindir}/twcbapp
install -m 0755 ${WORKDIR}/*.xml ${D}${bindir}/twcbapp
install -m 0755 ${WORKDIR}/*.Sample ${D}${bindir}/twcbapp
bbdebug 2 "stap 3"
}
FILES_${PN} = "${bindir}/twcbapp"
INSANE_SKIP_${PN} += "already-stripped dev-so libdir textrel staticdev"
DEPENDS = " \
libunwind \
fontconfig \
zlib \
util-linux \
icu \
curl \
lttng-ust \
"
RDEPENDS_${PN} = "libicuuc libicui18n lttng-ust"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment