aboutsummaryrefslogtreecommitdiff
path: root/business
diff options
context:
space:
mode:
Diffstat (limited to 'business')
-rw-r--r--business/tinyerp-client/README9
-rw-r--r--business/tinyerp-client/doinst.sh3
-rw-r--r--business/tinyerp-client/slack-desc19
-rw-r--r--business/tinyerp-client/tinyerp-client.SlackBuild82
-rw-r--r--business/tinyerp-client/tinyerp-client.desktop11
-rw-r--r--business/tinyerp-client/tinyerp-client.info8
6 files changed, 132 insertions, 0 deletions
diff --git a/business/tinyerp-client/README b/business/tinyerp-client/README
new file mode 100644
index 000000000000..c676a7f3ed34
--- /dev/null
+++ b/business/tinyerp-client/README
@@ -0,0 +1,9 @@
+Tiny ERP is a free enterprise management software package. It covers all
+domains for small to medium businesses; accounting, stock management,
+sales, customer relationship, purchases, project management, etcetera.
+This is the client application.
+
+tinyerp-client requires tinyerp-server. Additionally, you will get an
+error on startup if you do not have matplotlib installed; however, the
+only functionality lost is presenting graphs. Both tinyerp-server and
+matplotlib are available from SlackBuilds.org.
diff --git a/business/tinyerp-client/doinst.sh b/business/tinyerp-client/doinst.sh
new file mode 100644
index 000000000000..140e33222297
--- /dev/null
+++ b/business/tinyerp-client/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
diff --git a/business/tinyerp-client/slack-desc b/business/tinyerp-client/slack-desc
new file mode 100644
index 000000000000..18f343f9e101
--- /dev/null
+++ b/business/tinyerp-client/slack-desc
@@ -0,0 +1,19 @@
+# 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 ':'.
+
+ |-----handy-ruler------------------------------------------------|
+tinyerp-client: tinyerp-client (Complete ERP and CRM - client part)
+tinyerp-client:
+tinyerp-client: Tiny ERP is a free enterprise management software package. It
+tinyerp-client: covers all domains for small to medium businesses; accounting,
+tinyerp-client: stock management, sales, customer relationship, purchases,
+tinyerp-client: project management, et cetera.
+tinyerp-client: This is the client part.
+tinyerp-client:
+tinyerp-client: Homepage: http://www.tinyerp.com
+tinyerp-client:
+tinyerp-client:
diff --git a/business/tinyerp-client/tinyerp-client.SlackBuild b/business/tinyerp-client/tinyerp-client.SlackBuild
new file mode 100644
index 000000000000..852da30df602
--- /dev/null
+++ b/business/tinyerp-client/tinyerp-client.SlackBuild
@@ -0,0 +1,82 @@
+#!/bin/sh
+
+# Slackware build script for tinyerp-client
+
+# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=tinyerp-client
+VERSION=4.2.3.4
+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"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \;
+
+python setup.py install --root=$PKG
+
+mkdir -p $PKG/usr/share/applications
+cp -f $CWD/tinyerp-client.desktop $PKG/usr/share/applications/
+
+find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : \
+ | xargs strip --strip-unneeded 2> /dev/null || true
+
+mv $PKG/usr/share/man $PKG/usr
+rm -rf $PKG/usr/share/man
+gzip -9 $PKG/usr/man/man?/*.?
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -rf $PKG/usr/share/doc
+
+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/business/tinyerp-client/tinyerp-client.desktop b/business/tinyerp-client/tinyerp-client.desktop
new file mode 100644
index 000000000000..abdb842761ba
--- /dev/null
+++ b/business/tinyerp-client/tinyerp-client.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=TinyERP
+GenericName=Enterprise Resource Planning
+Comment=Basic ERP & CRM
+Exec=tinyerp-client
+Icon=/usr/share/pixmaps/tinyerp-client/tinyerp-icon-64x64.png
+Terminal=false
+Type=Application
+Categories=Application;Office;
+StartupNotify=true
diff --git a/business/tinyerp-client/tinyerp-client.info b/business/tinyerp-client/tinyerp-client.info
new file mode 100644
index 000000000000..08db203755ff
--- /dev/null
+++ b/business/tinyerp-client/tinyerp-client.info
@@ -0,0 +1,8 @@
+PRGNAM="tinyerp-client"
+VERSION="4.2.3.4"
+HOMEPAGE="http://www.openerp.com"
+DOWNLOAD="http://openerp.com/download/stable/source/tinyerp-client-4.2.3.4.tar.gz"
+MD5SUM="1b5831851499db4a4322de36fa4d46a7"
+MAINTAINER="ppr:kut"
+EMAIL="pprkut@liwjatan.at"
+APPROVED="rworkman"