]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
added mea3d & sdl-mixer package
authorhackbard <hackbard>
Sun, 8 Aug 2004 15:22:33 +0000 (15:22 +0000)
committerhackbard <hackbard>
Sun, 8 Aug 2004 15:22:33 +0000 (15:22 +0000)
doc/CHANGELOG
packages/multimedia/mesa3d/mesa3d [new file with mode: 0644]
packages/multimedia/sdl-mixer/sdl-mixer [new file with mode: 0644]

index e4352d4a265ab7da61861a80cef8de1704cdebcb..855c00ba221537769e80ab117aec0dcdc3bb7e16 100644 (file)
@@ -1,5 +1,6 @@
 *) 2004-08-08
 
+- added mesa3d and sdl-mixer package
 - updated samba, removed prefix variable (set by Build script)
 - strip -x from package name when making binaries
 
diff --git a/packages/multimedia/mesa3d/mesa3d b/packages/multimedia/mesa3d/mesa3d
new file mode 100644 (file)
index 0000000..4a15544
--- /dev/null
@@ -0,0 +1,30 @@
+# hdw - linux mesa3d package
+#
+# author: hackbard@hackdaworld.dyndns.org
+#
+# [V] 6.0.1
+# [S] 3-6
+# [D] MesaLib-6.0.1.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/mesa3d/
+
+srcdir=Mesa-$ver
+# install in /opt/mesa3d
+prefix="$root/opt/$package"
+# target
+mt=""
+[ "$hdw_arch" = "ia32" ] && mt="linux-x86"
+
+build_main()   {
+       if [ -n "$mt" ] ; then
+               echo "building mesa3d for $mt ..."
+               make $mt
+       else
+               echo "target $hdw_rach not supported by now"
+               exit 1
+       fi
+               }
+
+post_install() {
+       rm -rf $prefix ; mkdir -p $prefix/{include,lib}
+       cp -r include/GL $prefix/include
+       cp -pd lib/* $prefix/lib
+               }
diff --git a/packages/multimedia/sdl-mixer/sdl-mixer b/packages/multimedia/sdl-mixer/sdl-mixer
new file mode 100644 (file)
index 0000000..bc5c0de
--- /dev/null
@@ -0,0 +1,9 @@
+# hdw - linux sdl-mixer package
+#
+# author: hackbard@hackdaworld.dyndns.org
+#
+# [V] 1.2.5
+# [S] 3-5
+# [D] SDL_mixer-1.2.5.tar.gz http://www.libsdl.org/projects/SDL_mixer/release/
+
+srcdir="SDL_mixer-$ver"