summaryrefslogtreecommitdiffstats
path: root/bsp/meta-boundary/recipes-boundary/printer-tools/printer-tools_git.bb
blob: 661a3fe67617538732ecf9423f652d59fe182fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SUMMARY = "Test/Debug tools for thermal printers."
HOMEPAGE = "https://github.com/boundarydevices/printer-tools"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4bc53cea4911b2abe17c307d0f49a5d8"
SECTION = "base"

SRCREV = "e219aea844d720e7b03da495862cc1586132e7dd"
SRCBRANCH = "ftp628"
SRC_URI = "git://github.com/boundarydevices/printer-tools.git;protocol=git;branch=${SRCBRANCH}"

S = "${WORKDIR}/git/"

DEPENDS += " libpng "

EXTRA_OEMAKE = " 'CC=${CC}' 'CFLAGS=-I${STAGING_INCDIR}' \
		'LDFLAGS=-L${STAGING_LIBDIR}' "

do_compile () {
        oe_runmake all
}

do_install () {
        oe_runmake install DESTDIR=${D}/usr/
}

FILES_${PN} += "/usr/bin"

INSANE_SKIP_${PN} = "ldflags"

BBCLASSEXTEND = "native"