From: hackbard Date: Sun, 8 Aug 2004 15:22:33 +0000 (+0000) Subject: added mea3d & sdl-mixer package X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dc0d19f951cbb5ee55147a21a68e987cce28f63;p=hdw-linux%2Fhdw-linux.git added mea3d & sdl-mixer package --- diff --git a/doc/CHANGELOG b/doc/CHANGELOG index e4352d4..855c00b 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -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 index 0000000..4a15544 --- /dev/null +++ b/packages/multimedia/mesa3d/mesa3d @@ -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 index 0000000..bc5c0de --- /dev/null +++ b/packages/multimedia/sdl-mixer/sdl-mixer @@ -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"