summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/suckless/st_0.9.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/suckless/st_0.9.3.bb')
-rw-r--r--meta-oe/recipes-graphics/suckless/st_0.9.3.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/suckless/st_0.9.3.bb b/meta-oe/recipes-graphics/suckless/st_0.9.3.bb
new file mode 100644
index 0000000000..12cc4bb877
--- /dev/null
+++ b/meta-oe/recipes-graphics/suckless/st_0.9.3.bb
@@ -0,0 +1,37 @@
1SECTION = "shadow"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=703e9835709f45ee7b81082277f1daec"
4SRC_URI = "http://dl.suckless.org/${BPN}/${BP}.tar.gz"
5
6inherit pkgconfig features_check
7
8REQUIRED_DISTRO_FEATURES = "x11"
9
10SRC_URI[sha256sum] = "9ed9feabcded713d4ded38c8cebf36a3b08f0042ef7934a0e2b2409da56e649b"
11
12DEPENDS += "libx11 libxft fontconfig ncurses-native"
13
14RDEPENDS:${PN} += "libx11-locale"
15
16do_compile() {
17 make INCS='-I. `pkg-config --cflags x11 fontconfig xft`' LIBS='-lm -lutil `pkg-config --libs x11 fontconfig xft`'
18}
19do_install() {
20 make install DESTDIR=${D} PREFIX=/usr TERMINFO=${D}${datadir}/terminfo
21}
22
23FILES:${PN} += " \
24 ${datadir}/terminfo \
25"
26
27inherit update-alternatives
28
29ALTERNATIVE_PRIORITY = "50"
30
31ALTERNATIVE:${PN} = "st st-256color"
32
33ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st"
34
35ALTERNATIVE_LINK_NAME[st-256color] = "${datadir}/terminfo/s/st-256color"
36
37CVE_STATUS[CVE-2017-16224] = "cpe-incorrect: The recipe used in the meta-openembedded is a different st package compared to the one which has the CVE issue."