summaryrefslogtreecommitdiff
path: root/repo/sdl2-gfx/sdl2-gfx.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
committerdavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
commit9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch)
tree278bbf05c72536a30e701eebbd3546ba137543e7 /repo/sdl2-gfx/sdl2-gfx.xibuild
parentf6332a43c35387c4a2dea1746be5fd092890ae0e (diff)
added python deps for libvirt
Diffstat (limited to 'repo/sdl2-gfx/sdl2-gfx.xibuild')
-rw-r--r--repo/sdl2-gfx/sdl2-gfx.xibuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/sdl2-gfx/sdl2-gfx.xibuild b/repo/sdl2-gfx/sdl2-gfx.xibuild
new file mode 100644
index 0000000..77e6ca5
--- /dev/null
+++ b/repo/sdl2-gfx/sdl2-gfx.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="sdl2-gfx"
+DESC="SDL2 graphics drawing primitives and other support functions"
+
+MAKEDEPS=" sdl2"
+
+PKG_VER=1.0.4
+SOURCE="http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-$PKG_VER.tar.gz"
+
+build() {
+ ./configure --prefix=/usr --disable-mmx
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ mkdir -p "$PKG_DEST/usr/share/doc/sdl2-gfx"
+ for f in Docs/html/*; do
+ install -Dm644 $f "$PKG_DEST/usr/share/doc/sdl2-gfx"
+ done
+}
+