summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 15:18:33 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 15:18:33 +0200
commit0e433d4f90709226afb831f4359a1a257286e9c4 (patch)
tree27403638dc03905096c620f2fc7cf6c165a4c0ce
parentc3cfad71df6b3542264b6fe20410ad0ad45822c6 (diff)
downloadslackbuilds-0e433d4f90709226afb831f4359a1a257286e9c4.tar.gz
system/atol: Initial import
-rw-r--r--system/atol/README23
-rw-r--r--system/atol/atol.SlackBuild57
-rw-r--r--system/atol/atol.info8
-rw-r--r--system/atol/doinst.sh5
-rw-r--r--system/atol/gvfs.Makefile.diff20
-rw-r--r--system/atol/no-gvfs.Makefile.diff23
-rw-r--r--system/atol/slack-desc10
7 files changed, 146 insertions, 0 deletions
diff --git a/system/atol/README b/system/atol/README
new file mode 100644
index 0000000000..696a829b3c
--- /dev/null
+++ b/system/atol/README
@@ -0,0 +1,23 @@
+Atol is a dual panel file manager written using GTK+ toolkit and C++
+programming language. Project is free and open source (released under
+BSD license).
+
+Current features:
+
+ * common file operations (copy,move,delete,rename)
+ * support for achiver plugins (.zip, .tar, .gz, .bz2, .arj, .rar, .lst)
+ * file search
+ * browsing bookmarks (directory shortcuts menu)
+ * file list filtering
+ * file split and merge support
+ * file hash calculation (crc32, md5, sha1)
+ * file encryption/decryption using strong blowfish algorithm
+ * multilanguage support
+ * fast file viewer (text, bin and hex mode)
+ * integrated FTP client
+ * integrated SFTP client (Win32 only)
+ * drag and drop operation
+ * support for custom colors in file panel
+ * command line support
+
+GNOME-VFS is optional, the SlackBuild will detect and patch accordingly.
diff --git a/system/atol/atol.SlackBuild b/system/atol/atol.SlackBuild
new file mode 100644
index 0000000000..b776ca0fd4
--- /dev/null
+++ b/system/atol/atol.SlackBuild
@@ -0,0 +1,57 @@
+#!/bin/sh
+
+# Slackware build script for atol
+# Written by Erik Hanson erik@slackbuilds.org
+
+# Modified by the SlackBuilds.org project
+
+PRGNAM=atol
+VERSION=0.7.3
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=`pwd`
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP || exit 1
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-${VERSION}_src.tar.gz || exit 1
+cd $PRGNAM-$VERSION || exit 1
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+# Makefile has to be patched either way.
+if $(pkg-config --exists gnome-vfs-2.0); then
+ echo "GNOME-VFS Found"
+ patch -p0 < $CWD/gvfs.Makefile.diff || exit 1
+elif ! $(pkg-config --exists gnome-vfs-2.0); then
+ echo "GNOME-VFS Not Found"
+ patch -p0 < $CWD/no-gvfs.Makefile.diff || exit 1
+fi
+
+make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
+
+# Fix the icon path in the desktop file
+sed -i 's%Icon=atol.xpm%Icon=/usr/share/icons/atol.xpm%' \
+ $PKG/usr/share/applications/atol.desktop || exit 1
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a readme.txt docs/license.txt $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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/system/atol/atol.info b/system/atol/atol.info
new file mode 100644
index 0000000000..0ce41e359f
--- /dev/null
+++ b/system/atol/atol.info
@@ -0,0 +1,8 @@
+PRGNAM="atol"
+VERSION="0.7.3"
+HOMEPAGE="http://atol.sourceforge.net/"
+DOWNLOAD="http://dl.sourceforge.net/atol/atol-0.7.3_src.tar.gz"
+MD5SUM="5ae6bf03a0308abc6d69fe868240721a"
+MAINTAINER="Erik Hanson"
+EMAIL="erik@slackbuilds.org"
+APPROVED="elohim,robw810"
diff --git a/system/atol/doinst.sh b/system/atol/doinst.sh
new file mode 100644
index 0000000000..3412314ed0
--- /dev/null
+++ b/system/atol/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/atol/gvfs.Makefile.diff b/system/atol/gvfs.Makefile.diff
new file mode 100644
index 0000000000..63788c056e
--- /dev/null
+++ b/system/atol/gvfs.Makefile.diff
@@ -0,0 +1,20 @@
+--- Makefile 2006-12-16 11:13:34.000000000 -0600
++++ Makefile.gvfs 2007-01-01 20:01:41.000000000 -0600
+@@ -15,7 +15,7 @@
+ archive=atol-$(VERSION)_src
+
+ #define plugin install path
+-plugin_dir=$(DESTDIR)$(prefix)/local/lib/atol
++plugin_dir=$(DESTDIR)$(prefix)/lib/atol
+ #comment this to remove gnome-vfs support
+ HAVE_GNOME_VFS=1
+
+@@ -32,7 +32,7 @@
+ #DEBUG=-g -D_DEBUG
+
+ CXX=g++
+-CFLAGS=-Wall
++CFLAGS+= -Wall
+ FLAGS=$(CFLAGS)
+ BIN=./bin
+ OBJ=./bin
diff --git a/system/atol/no-gvfs.Makefile.diff b/system/atol/no-gvfs.Makefile.diff
new file mode 100644
index 0000000000..989a9f3e32
--- /dev/null
+++ b/system/atol/no-gvfs.Makefile.diff
@@ -0,0 +1,23 @@
+--- Makefile 2006-12-16 11:13:34.000000000 -0600
++++ Makefile.no-gvfs 2007-01-01 20:02:01.000000000 -0600
+@@ -15,9 +15,9 @@
+ archive=atol-$(VERSION)_src
+
+ #define plugin install path
+-plugin_dir=$(DESTDIR)$(prefix)/local/lib/atol
++plugin_dir=$(DESTDIR)$(prefix)/lib/atol
+ #comment this to remove gnome-vfs support
+-HAVE_GNOME_VFS=1
++#HAVE_GNOME_VFS=1
+
+ # To profile Atol:
+ # 1. uncomment "PROFILE=..." line below
+@@ -32,7 +32,7 @@
+ #DEBUG=-g -D_DEBUG
+
+ CXX=g++
+-CFLAGS=-Wall
++CFLAGS+= -Wall
+ FLAGS=$(CFLAGS)
+ BIN=./bin
+ OBJ=./bin
diff --git a/system/atol/slack-desc b/system/atol/slack-desc
new file mode 100644
index 0000000000..f1eafe21db
--- /dev/null
+++ b/system/atol/slack-desc
@@ -0,0 +1,10 @@
+atol: atol - a dual panel file manager written using GTK+
+atol:
+atol: Atol is a dual panel file manager written using GTK+ toolkit and C++
+atol: programming language. Project is free and open source (released under
+atol: BSD license).
+atol:
+atol: http://atol.sourceforge.net/
+atol:
+atol:
+atol: