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

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 features_check gitpkgv pkgconfig

REQUIRED_DISTRO_FEATURES = "x11"

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"