summaryrefslogtreecommitdiffstats
path: root/sdl_gfx/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'sdl_gfx/Pkgfile')
-rw-r--r--sdl_gfx/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/sdl_gfx/Pkgfile b/sdl_gfx/Pkgfile
new file mode 100644
index 000000000..72f36145d
--- /dev/null
+++ b/sdl_gfx/Pkgfile
@@ -0,0 +1,24 @@
+# Description: SDL Graphic Primitives
+# URL: http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx
+# Maintainer: piernov <piernov@piernov.org>
+# Packager: piernov <piernov@piernov.org>
+# Depends on: sdl
+# Run on: sdl
+
+name=sdl_gfx
+version=2.0.22
+release=1
+source=(http://www.ferzkopp.net/Software/SDL_gfx-${version%.*}/SDL_gfx-$version.tar.gz)
+
+build() {
+ cd SDL_gfx-$version
+ if [ "${CARCH}" == "x86_64" ]; then
+ ./configure --prefix=/usr --disable-mmx
+ else
+ ./configure --prefix=/usr
+ fi
+ make
+ make DESTDIR=$PKG install
+}
+
+