mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-26 05:28:23 +01:00
stb: add recipe
This commit is contained in:
parent
f3262abc4e
commit
2f1de2f24d
18
recipes-devtools/stb/stb_git.bb
Normal file
18
recipes-devtools/stb/stb_git.bb
Normal file
@ -0,0 +1,18 @@
|
||||
SUMMARY = "stb is a set of single-file libraries for C/C++"
|
||||
HOMEPAGE = "https://github.com/nothings/stb"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=fb994481c55623ef338885280e676f3b"
|
||||
|
||||
SRC_URI = "git://github.com/nothings/stb.git;protocol=https;branch=master"
|
||||
SRCREV = "f4a71b13373436a2866c5d68f8f80ac6f0bc1ffe"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${includedir}/stb
|
||||
for file in ${S}/*.h; do
|
||||
install -m 0644 $file ${D}${includedir}/stb
|
||||
done
|
||||
# needed for gamescope
|
||||
install -m 0644 deprecated/stb_image_resize.h ${D}${includedir}/stb
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user