summaryrefslogtreecommitdiff
path: root/media-libs/raylib/raylib-4.0.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/raylib/raylib-4.0.0.ebuild')
-rw-r--r--media-libs/raylib/raylib-4.0.0.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/media-libs/raylib/raylib-4.0.0.ebuild b/media-libs/raylib/raylib-4.0.0.ebuild
new file mode 100644
index 0000000..03fa457
--- /dev/null
+++ b/media-libs/raylib/raylib-4.0.0.ebuild
@@ -0,0 +1,24 @@
+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
+}