summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorHeinz Wiesinger <HMWiesinger@gmx.at>2010-05-11 22:55:10 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 22:55:10 +0200
commit1b404732cab048daea342d564e7ca7bc949bb54d (patch)
treece8ee098938b03f384e551a2069da51177d3b7a6 /office
parent6fb380c5f701f0c0afc23df4ec81699349fe2a40 (diff)
downloadslackbuilds-1b404732cab048daea342d564e7ca7bc949bb54d.tar.gz
office/taskjuggler: Added to 12.1 repository
Diffstat (limited to 'office')
-rw-r--r--office/taskjuggler/README6
-rw-r--r--office/taskjuggler/doinst.sh8
-rw-r--r--office/taskjuggler/slack-desc19
-rw-r--r--office/taskjuggler/taskjuggler.SlackBuild79
-rw-r--r--office/taskjuggler/taskjuggler.info8
5 files changed, 120 insertions, 0 deletions
diff --git a/office/taskjuggler/README b/office/taskjuggler/README
new file mode 100644
index 0000000000..ec23c50a2d
--- /dev/null
+++ b/office/taskjuggler/README
@@ -0,0 +1,6 @@
+TaskJuggler is a project management tool for Linux and UNIX-like
+operating systems. Its new approach to project planning and
+tracking is far superior to the commonly used Gantt chart editing
+tools. It has already been successfully used in many projects and
+scales easily to projects with hundreds of resources and
+thousands of tasks. \ No newline at end of file
diff --git a/office/taskjuggler/doinst.sh b/office/taskjuggler/doinst.sh
new file mode 100644
index 0000000000..ad650e6ab4
--- /dev/null
+++ b/office/taskjuggler/doinst.sh
@@ -0,0 +1,8 @@
+if [ -x usr/bin/update-desktop-database ]; then
+ usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x usr/bin/update-mime-database ]; then
+ usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
diff --git a/office/taskjuggler/slack-desc b/office/taskjuggler/slack-desc
new file mode 100644
index 0000000000..d0c38a86f0
--- /dev/null
+++ b/office/taskjuggler/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----------------------------------------------------|
+taskjuggler: taskjuggler (KDE Project Management Tool)
+taskjuggler:
+taskjuggler: TaskJuggler is a project management tool for Linux and UNIX-like
+taskjuggler: operating systems. Its new approach to project planning and
+taskjuggler: tracking is far superior to the commonly used Gantt chart editing
+taskjuggler: tools. It has already been successfully used in many projects and
+taskjuggler: scales easily to projects with hundreds of resources and
+taskjuggler: thousands of tasks.
+taskjuggler:
+taskjuggler: Homepage: http://www.taskjuggler.org
+taskjuggler:
diff --git a/office/taskjuggler/taskjuggler.SlackBuild b/office/taskjuggler/taskjuggler.SlackBuild
new file mode 100644
index 0000000000..d45dd7dde8
--- /dev/null
+++ b/office/taskjuggler/taskjuggler.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/sh
+
+# Slackware build script for taskjuggler
+
+# Copyright 2008 Heinz Wiesinger <hmwiesinger@gmx.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=taskjuggler
+VERSION=2.4.1
+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
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-docdir=/usr/doc/$PRGNAM-$VERSION/ \
+ --disable-docs \
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING INSTALL README TODO \
+ $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 $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/office/taskjuggler/taskjuggler.info b/office/taskjuggler/taskjuggler.info
new file mode 100644
index 0000000000..cc3763b7f0
--- /dev/null
+++ b/office/taskjuggler/taskjuggler.info
@@ -0,0 +1,8 @@
+PRGNAM="taskjuggler"
+VERSION="2.4.1"
+HOMEPAGE="http://www.taskjuggler.org"
+DOWNLOAD="http://www.taskjuggler.org/download/taskjuggler-2.4.1.tar.bz2"
+MD5SUM="18e0cec8b2ec69220ae7c9a790c16819"
+MAINTAINER="ppr:kut"
+EMAIL="HMWiesinger@gmx.at"
+APPROVED="Michiel"