diff options
Diffstat (limited to 'system/gxemul')
-rw-r--r-- | system/gxemul/0.6.0-gcc46.patch | 16 | ||||
-rw-r--r-- | system/gxemul/README | 14 | ||||
-rw-r--r-- | system/gxemul/gxemul.SlackBuild | 84 | ||||
-rw-r--r-- | system/gxemul/gxemul.info | 10 | ||||
-rw-r--r-- | system/gxemul/slack-desc | 19 |
5 files changed, 0 insertions, 143 deletions
diff --git a/system/gxemul/0.6.0-gcc46.patch b/system/gxemul/0.6.0-gcc46.patch deleted file mode 100644 index eb0ce26b6e..0000000000 --- a/system/gxemul/0.6.0-gcc46.patch +++ /dev/null @@ -1,16 +0,0 @@ - src/include/refcount_ptr.h | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - -diff --git a/src/include/refcount_ptr.h b/src/include/refcount_ptr.h -index 4645769..ebabd58 100644 ---- a/src/include/refcount_ptr.h -+++ b/src/include/refcount_ptr.h -@@ -1,6 +1,8 @@ - #ifndef REFCOUNT_PTR_H - #define REFCOUNT_PTR_H - -+#include <stddef.h> -+ - /* - * Copyright (C) 2007-2010 Anders Gavare. All rights reserved. - * diff --git a/system/gxemul/README b/system/gxemul/README deleted file mode 100644 index 93bec0b849..0000000000 --- a/system/gxemul/README +++ /dev/null @@ -1,14 +0,0 @@ -GXemul is an experimental instruction-level machine emulator. Several -emulation modes are available. In some modes, processors and surrounding -hardware components are emulated well enough to let unmodified operating -systems (e.g. NetBSD) run as if they were running on a real machine. - -The emulator is written in C, does not depend on third-party libraries, -and should compile and run on most 64-bit and 32-bit Unix-like systems, -with few or no modifications. - -Devices and processors are not simulated with 100% accuracy. They are -only "faked" well enough to allow guest operating systems to run without -complaining too much. Still, the emulator could be of interest for -academic research and experiments, such as when learning how to write -operating system code. diff --git a/system/gxemul/gxemul.SlackBuild b/system/gxemul/gxemul.SlackBuild deleted file mode 100644 index 9d70329320..0000000000 --- a/system/gxemul/gxemul.SlackBuild +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/sh - -# Slackware build script for GXemul - -# Written by Aleksandar Samardzic <asamardzic@gmail.com> - -PRGNAM=gxemul -VERSION=${VERSION:-0.6.0} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Fix needed for gcc>=4.6.x (thanks gentoo) -patch -p1 < $CWD/0.6.0-gcc46.patch - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure - -make -mkdir -p $PKG/usr/bin $PKG/usr/man/man1 -install -m 0755 gxemul $PKG/usr/bin -install -m 0644 man/gxemul.1 $PKG/usr/man/man1 - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - HISTORY LICENSE README \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/gxemul/gxemul.info b/system/gxemul/gxemul.info deleted file mode 100644 index 6b37b457a7..0000000000 --- a/system/gxemul/gxemul.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="gxemul" -VERSION="0.6.0" -HOMEPAGE="http://gxemul.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/gxemul/gxemul-0.6.0.tar.gz" -MD5SUM="bfdc4109ddd05361be0db0084dd3dbed" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Aleksandar Samardzic" -EMAIL="asamardzic@gmail.com" diff --git a/system/gxemul/slack-desc b/system/gxemul/slack-desc deleted file mode 100644 index 44a08214c5..0000000000 --- a/system/gxemul/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -gxemul: GXemul (an instruction-level machine emulator) -gxemul: -gxemul: GXemul emulates (networks of) real machines, consisting of -gxemul: processors (ARM, MIPS, PowerPC, and SuperH, emulated using -gxemul: dynamic translation) and various surrounding hardware -gxemul: components such as framebuffers, interrupt controllers, -gxemul: busses, disk controllers, and serial controllers. -gxemul: -gxemul: GXemul home page is: http://gxemul.sourceforge.net/ -gxemul: -gxemul: |