From: Jose V Beneyto Date: Mon, 25 Jan 2010 11:13:36 +0000 (+0100) Subject: dosbox: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=29411126e4d4202ee6140c5eab6c58a7147e5127;p=attic%2Fports%2Fgames-cross.git dosbox: initial import (verified compilation) --- diff --git a/dosbox/.footprint b/dosbox/.footprint new file mode 100644 index 0000000..3586c4e --- /dev/null +++ b/dosbox/.footprint @@ -0,0 +1,6 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/dosbox +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/dosbox.1.gz diff --git a/dosbox/.md5sum b/dosbox/.md5sum new file mode 100644 index 0000000..c2b5016 --- /dev/null +++ b/dosbox/.md5sum @@ -0,0 +1 @@ +0823a11242db711ac3d6ebfff6aff572 dosbox-0.73.tar.gz diff --git a/dosbox/Pkgfile b/dosbox/Pkgfile new file mode 100644 index 0000000..817495e --- /dev/null +++ b/dosbox/Pkgfile @@ -0,0 +1,39 @@ +# Description: SDL-based DOS emulator for classic games +# URL: http://dosbox.sourceforge.net +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: libsdl + +name=dosbox +version=0.73 +release=1 +source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz) + +build() { + cd $name-$version + + export DEFAULT_LIBS="-L$CLFS/usr/lib" + export DEFAULT_CFLAGS="-I$CLFS/usr/include" + export SDL_LIBS="$DEFAULT_LIBS -lSDL -lSDL_image -lpthread" + export SDL_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_LIBSDL_IMAGE" + + sed -i configure \ + -e 's|SDL_VERSION=.*|SDL_VERSION=1.2.14|g' \ + -e "s|SDL_LIBS=.*|SDL_LIBS=\"$SDL_LIBS\"|" \ + -e "s|SDL_CFLAGS=.*|SDL_CFLAGS=\"$SDL_CFLAGS\"|" + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --mandir=/usr/man \ + --with-sdl-prefix=$CLFS/usr \ + --disable-sdltest \ + --disable-alsatest \ + --disable-dynamic-x86 \ + --disable-fpu-x86 \ + --disable-debug + + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/share + +}