system/ts: Updated for version 0.7.1.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Richard Ellis 2011-12-10 18:41:01 -02:00 committed by Niels Horn
parent edbc13c7a3
commit 86cec3241d
4 changed files with 23 additions and 33 deletions

View file

@ -1,12 +1,12 @@
Task spooler is a Unix batch system where the tasks spooled run one after Task spooler is a Unix batch system where the tasks spooled run one after
the other. The amount of jobs to run at once can be set at any time. Each the other. The amount of jobs to run at once can be set at any time. Each
user in each system has his own job queue. The tasks are run in the correct user in each system has his own job queue. The tasks are run in the correct
context (that of enqueue) from any shell/process, and its output/results can context (that of enqueue) from any shell/process, and its output/results
be easily watched. It is very useful when you know that your commands depend can be easily watched. It is very useful when you know that your commands
on a lot of RAM, a lot of disk use, give a lot of output, or for whatever depend on a lot of RAM, a lot of disk use, give a lot of output, or for
reason it's better not to run them all at the same time, while you want to whatever reason it's better not to run them all at the same time, while you
keep your resources busy for maximum benfit. Its interface allows using it want to keep your resources busy for maximum benfit. Its interface allows
easily in scripts. using it easily in scripts.
Features Features

View file

@ -5,21 +5,15 @@
# exactly 11 lines for the formatting to be correct. It's also customary to # exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'. # leave one space after the ':'.
|-----handy-ruler-------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
ts: ts (Unix task spooler)
ts:
ts: task spooler is a Unix batch system where the tasks spooled run one ts: task spooler is a Unix batch system where the tasks spooled run one
ts: after the other. ts: after the other.
ts: ts: The amount of jobs to run at once can be set at any time. Each user
ts: The amount of jobs to run at once can be set at any time. Each user in ts: in each system has his own job queue. The tasks are run in the
ts: each system has his own job queue. The tasks are run in the correct ts: correct context (that of enqueue) from any shell/process, and its
ts: context (that of enqueue) from any shell/process, and its
ts: output/results can be easily watched. Its interface allows using it ts: output/results can be easily watched. Its interface allows using it
ts: easily in scripts. ts: easily in scripts.
ts: ts:
ts: See: http://vicerveza.homeunix.net/~viric/soft/ts/ ts: See: http://vicerveza.homeunix.net/~viric/soft/ts/
ts:

View file

@ -5,18 +5,17 @@
# Written by Richard Ellis (rellis@dp100.com) # Written by Richard Ellis (rellis@dp100.com)
# Released into the public domain June 11, 2009 # Released into the public domain June 11, 2009
# V2 for Slackware 13.37 - November 11, 2011
PRGNAM=ts PRGNAM=ts
VERSION=${VERSION:-0.6.4} VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -55,19 +54,16 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \; -exec chmod 644 {} \;
make make CFLAGS="$SLKCFLAGS -pedantic -ansi -Wall"
make install PREFIX=$PKG/usr make install PREFIX=$PKG/usr
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr mv $PKG/usr/share/man $PKG/usr
rmdir $PKG/usr/share rmdir $PKG/usr/share
find $PKG/usr/man -type f -exec gzip -9 {} \;
( cd $PKG/usr/man for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \

View file

@ -1,10 +1,10 @@
PRGNAM="ts" PRGNAM="ts"
VERSION="0.6.4" VERSION="0.7.1"
HOMEPAGE="http://vicerveza.homeunix.net/~viric/soft/ts/" HOMEPAGE="http://vicerveza.homeunix.net/~viric/soft/ts/"
DOWNLOAD="http://vicerveza.homeunix.net/~viric/soft/ts/ts-0.6.4.tar.gz" DOWNLOAD="http://vicerveza.homeunix.net/~viric/soft/ts/ts-0.7.1.tar.gz"
MD5SUM="781b140158f4c89c33cc852688c893e7" MD5SUM="3d4620a8b24f897546115701c21ea800"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Richard Ellis" MAINTAINER="Richard Ellis"
EMAIL="rellis@dp100.com" EMAIL="rellis@dp100.com"
APPROVED="dsomero" APPROVED="Niels Horn"