DESCRIPTION="simple and easy-to-use library to enjoy videogames programming" HOMEPAGE="http://www.raylib.com/" SRC_URI="https://github.com/raysan5/raylib/archive/refs/tags/4.0.0.tar.gz" S="${WORKDIR}/${P}/src" LICENSE="zlib" SLOT="0" KEYWORDS="~amd64" # TODO: add static-libs USE flag IUSE="" src_compile() { emake PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED } src_install() { emake install RAYLIB_LIBTYPE=SHARED RAYLIB_INSTALL_PATH=${D}/usr/lib64 RAYLIB_H_INSTALL_PATH=${D}/usr/include }