summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/emelfm2/README6
-rw-r--r--system/emelfm2/doinst.sh5
-rw-r--r--system/emelfm2/emelfm2.SlackBuild56
-rw-r--r--system/emelfm2/emelfm2.info8
-rw-r--r--system/emelfm2/slack-desc11
5 files changed, 86 insertions, 0 deletions
diff --git a/system/emelfm2/README b/system/emelfm2/README
new file mode 100644
index 0000000000..7fbbfdf88a
--- /dev/null
+++ b/system/emelfm2/README
@@ -0,0 +1,6 @@
+emelFM2 is a file manager for UNIX-like operating systems. It uses
+a simple and efficient interface pioneered by Norton Commander in
+the 1980's. It features a two pane window located side-by-side
+to show the contents of the selected filesystem directories, and
+a third pane at the bottom that shows the output of commands.
+
diff --git a/system/emelfm2/doinst.sh b/system/emelfm2/doinst.sh
new file mode 100644
index 0000000000..22d4849bce
--- /dev/null
+++ b/system/emelfm2/doinst.sh
@@ -0,0 +1,5 @@
+
+if [ -x usr/bin/update-desktop-database ]; then
+ usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+fi
+
diff --git a/system/emelfm2/emelfm2.SlackBuild b/system/emelfm2/emelfm2.SlackBuild
new file mode 100644
index 0000000000..7a8ace971e
--- /dev/null
+++ b/system/emelfm2/emelfm2.SlackBuild
@@ -0,0 +1,56 @@
+#!/bin/sh
+
+# Slackware build script for emelFM2
+# Written by Chess Griffin <chess at chessgriffin dot com>
+
+PRGNAM=emelfm2
+VERSION=0.3.2
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=`pwd`
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+cd $PRGNAM-$VERSION || exit 1
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+make DOCS_VERSION=1 PREFIX=$PKG/usr || exit 1
+make install DOCS_VERSION=1 PREFIX=$PKG/usr || exit 1
+
+# Fix the icon path in the desktop file
+sed -i s#'Icon=emelfm2/emelfm2_48.png'#'Icon=/usr/share/pixmaps/emelfm2/emelfm2_48.png'# \
+ $PKG/usr/share/applications/emelfm2.desktop || exit 1
+
+find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
+mkdir -p $PKG/usr/man/man1
+bzcat $PKG/usr/share/man/man1/emelfm2.1.bz2 | gzip -9 \
+ > $PKG/usr/man/man1/emelfm2.1.gz
+rm -rf $PKG/usr/share/man
+
+mkdir -p $PKG/usr/doc
+mv $PKG/usr/share/doc/$PRGNAM-$VERSION $PKG/usr/doc
+rm -rf $PKG/usr/share/doc
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/system/emelfm2/emelfm2.info b/system/emelfm2/emelfm2.info
new file mode 100644
index 0000000000..8f047969ae
--- /dev/null
+++ b/system/emelfm2/emelfm2.info
@@ -0,0 +1,8 @@
+PRGNAM="emelfm2"
+VERSION="0.3.2"
+HOMEPAGE="http://www.emelfm2.net"
+DOWNLOAD="http://emelfm2.net/rel/emelfm2-0.3.2.tar.gz"
+MD5SUM="8862daeec1fd8b433e6810511c058e75"
+MAINTAINER="Chess Griffin"
+EMAIL="chess@chessgriffin.com"
+APPROVED="robw810"
diff --git a/system/emelfm2/slack-desc b/system/emelfm2/slack-desc
new file mode 100644
index 0000000000..ae283f723c
--- /dev/null
+++ b/system/emelfm2/slack-desc
@@ -0,0 +1,11 @@
+emelfm2: emelFM2 File Manager
+emelfm2:
+emelfm2: emelFM2 is a file manager for UNIX-like operating systems. It uses
+emelfm2: a simple and efficient interface pioneered by Norton Commander in
+emelfm2: the 1980's. It features a two pane window located side-by-side
+emelfm2: to show the contents of the selected filesystem directories, and
+emelfm2: a third pane at the bottom that shows the output of commands.
+emelfm2:
+emelfm2: Homepage: http://www.emelfm2.net
+emelfm2:
+emelfm2: