aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/dosemu/README4
-rw-r--r--system/dosemu/dosemu.SlackBuild17
-rw-r--r--system/dosemu/dosemu.info4
3 files changed, 8 insertions, 17 deletions
diff --git a/system/dosemu/README b/system/dosemu/README
index 848e1f022179d..e65d5043bad0a 100644
--- a/system/dosemu/README
+++ b/system/dosemu/README
@@ -3,7 +3,3 @@ dosemu is a DOS EMUlator
DOSEMU is a user-level program which uses certain special features
of the Linux kernel and the 80386 processor to run MS-DOS/FreeDOS
in what we in the biz call a 'DOS box'
-
-This script does not build support for X by default - to enable X,
-run the script as follows:
- WITH_X=yes ./dosemu.SlackBuild
diff --git a/system/dosemu/dosemu.SlackBuild b/system/dosemu/dosemu.SlackBuild
index de2d660d742d4..58b842b584c33 100644
--- a/system/dosemu/dosemu.SlackBuild
+++ b/system/dosemu/dosemu.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for dosemu
# Copyright 2007 Martin Lefebvre <dadexter@sekurity.com>
+# Copyright 2014 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +25,7 @@
PRGNAM=dosemu
VERSION=${VERSION:-20130804_35054ba}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -40,10 +41,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# This script builds dosemu without X support by default.
-# To enable X, run the build script as: WITH_X=yes ./dosemu.SlackBuild
-WITH_X=${WITH_X:-no}
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -74,14 +71,13 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc/dosemu \
- --localstatedir=/var \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-x="$WITH_X" \
+ --with-x \
--with-svgalib \
+ --with-docdir=/usr/doc/$PRGNAM-$VERSION \
--with-fdtarball=$CWD/dosemu-freedos-1.0-bin.tgz
make
@@ -93,10 +89,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir -p $PKG/usr/doc
-mv $PKG/usr/share/doc/dosemu $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rmdir $PKG/usr/share/doc
( cd $PKG/etc/dosemu
mv dosemu.conf dosemu.conf.new
@@ -104,6 +97,8 @@ rmdir $PKG/usr/share/doc
mv global.conf global.conf.new
)
+find $PKG -type d ! -perm 755 -exec chmod 0755 '{}' \;
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/system/dosemu/dosemu.info b/system/dosemu/dosemu.info
index 55f44a309b02a..5f5755a8696a8 100644
--- a/system/dosemu/dosemu.info
+++ b/system/dosemu/dosemu.info
@@ -8,5 +8,5 @@ MD5SUM="190c77107fa23847eaa0bade762091ff \
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Niklas 'Nille' Åkerström"
-EMAIL="nille.kungen[AT]gmail.com"
+MAINTAINER="Larry Hajali"
+EMAIL="larryhaja[at]gmail[dot]com"