summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/toscoterm/toscoterm_git.bb
blob: 5c5fab9487da5d0b006c35e5b4006f8089a8cc41 (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
DESCRIPTION = "A very small and simple terminal emulator"
SECTION = "x11/applications"
DEPENDS = "vte"

LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://main.c;start_line=5;end_line=16;md5=9ae4bf20caf291afa94530026bd15229"

# 0.2 version
SRCREV = "8586d617aed19fc75f5ae1e07270752c1b2f9a30"
SRC_URI = "git://github.com/OSSystems/toscoterm.git"

S = "${WORKDIR}/git"

inherit gitpkgv pkgconfig

do_compile() {
    oe_runmake \
        CC="${CC}" \
        CFLAGS="`pkg-config --cflags vte`${CFLAGS}" \
        LDFLAGS="`pkg-config --libs vte` ${LDFLAGS}"
}

do_install() {
    oe_runmake PREFIX="${prefix}" DESTDIR="${D}" install
}

RDEPENDS_${PN}_append_libc-glibc += "glibc-gconv-ibm437"