summaryrefslogtreecommitdiffstats
path: root/extra/libsdl/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libsdl/Pkgfile')
-rw-r--r--extra/libsdl/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/libsdl/Pkgfile b/extra/libsdl/Pkgfile
new file mode 100644
index 000000000..11f9eedaa
--- /dev/null
+++ b/extra/libsdl/Pkgfile
@@ -0,0 +1,22 @@
+# Description: SDL, Simple DirectMedia Layer
+# URL: http://www.libsdl.org
+# Maintainer: Jose V Beneyto <sepen at crux dot nu>
+# Packager: sten <nick dot steeves at shaw dot ca>
+# Depends on: alsa-lib, mesa3d
+
+name=libsdl
+version=1.2.13
+release=1
+source=( http://www.libsdl.org/release/SDL-$version.tar.gz )
+
+build () {
+ cd SDL-$version
+
+ # Compilation
+ ./configure --prefix=/usr \
+ --enable-alsa \
+ --mandir=/usr/man
+ make
+ make DESTDIR=$PKG install
+}
+