diff options
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.bb | 37 |
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 @@ | |||
| 1 | SECTION = "shadow" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=703e9835709f45ee7b81082277f1daec" | ||
| 4 | SRC_URI = "http://dl.suckless.org/${BPN}/${BP}.tar.gz" | ||
| 5 | |||
| 6 | inherit pkgconfig features_check | ||
| 7 | |||
| 8 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "9ed9feabcded713d4ded38c8cebf36a3b08f0042ef7934a0e2b2409da56e649b" | ||
| 11 | |||
| 12 | DEPENDS += "libx11 libxft fontconfig ncurses-native" | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += "libx11-locale" | ||
| 15 | |||
| 16 | do_compile() { | ||
| 17 | make INCS='-I. `pkg-config --cflags x11 fontconfig xft`' LIBS='-lm -lutil `pkg-config --libs x11 fontconfig xft`' | ||
| 18 | } | ||
| 19 | do_install() { | ||
| 20 | make install DESTDIR=${D} PREFIX=/usr TERMINFO=${D}${datadir}/terminfo | ||
| 21 | } | ||
| 22 | |||
| 23 | FILES:${PN} += " \ | ||
| 24 | ${datadir}/terminfo \ | ||
| 25 | " | ||
| 26 | |||
| 27 | inherit update-alternatives | ||
| 28 | |||
| 29 | ALTERNATIVE_PRIORITY = "50" | ||
| 30 | |||
| 31 | ALTERNATIVE:${PN} = "st st-256color" | ||
| 32 | |||
| 33 | ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st" | ||
| 34 | |||
| 35 | ALTERNATIVE_LINK_NAME[st-256color] = "${datadir}/terminfo/s/st-256color" | ||
| 36 | |||
| 37 | CVE_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." | ||
