# Note: depends on pkg-config
# Note: depends on curl
# Note: depends on git with curl-support
git clone https://github.com/nothings/stb
cd stb
git checkout e6afb9cbae4064da8c3e69af3ff5c4629579c1d2
echo 'prefix=/usr' > Stb.pc
echo 'includedir=${prefix}/include/stb' >> Stb.pc
echo 'Cflags: -I${includedir}' >> Stb.pc
install -D *.h -t /usr/include/stb
install -D Stb.pc /usr/lib/pkgconfig/Stb.pc