summaryrefslogtreecommitdiff
path: root/packages/opentom/ttimgextract.bb
blob: 02d2e1515d070b2a72ac60d9ed28abfa402d7e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
LICENSE = "None"
DESCRIPTION = "A tool to extract the ttsystem images into their components." 

SRC_URI = "svn://svn.opentom.org/opentom/trunk/;module=ttimgextract;proto=http"

PV = "0.0+svn${SRCDATE}"
S = "${WORKDIR}/${PN}"


do_compile() {
        ${CC} -o ttimgextract ttimgextract.c -DPATH_MAX=4096 ${TARGET_CC_ARCH}
}

do_install () {
        install -d ${D}${bindir}
        install -m 0755 ${S}/ttimgextract ${D}${bindir}/
}