diff options
author | Alan Alberghini <414N@slacky.it> | 2010-05-13 00:59:23 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:59:23 +0200 |
commit | a28bbe67f2dfc7d2140b437de011c8e654eefad4 (patch) | |
tree | b99d05dc1ecd09421245cc243a484c36959c1ed6 | |
parent | 336c941bcf0760d305f6371b933ef12265c2000b (diff) |
misc/g15composer: Added to 13.0 repository
-rw-r--r-- | misc/g15composer/README | 8 | ||||
-rw-r--r-- | misc/g15composer/g15composer.SlackBuild | 90 | ||||
-rw-r--r-- | misc/g15composer/g15composer.info | 10 | ||||
-rw-r--r-- | misc/g15composer/slack-desc | 19 |
4 files changed, 127 insertions, 0 deletions
diff --git a/misc/g15composer/README b/misc/g15composer/README new file mode 100644 index 0000000000000..74abbc737798c --- /dev/null +++ b/misc/g15composer/README @@ -0,0 +1,8 @@ +G15Composer is a scriptable command interface to the libg15render drawing +functions that outputs to a G15daemon screen. G15composer exposes all +graphics primitives and text rendering functions of libg15render so that +they may be used in a variety of situations, including from the command +line or in virtually any scripting language. As a G15Daemon client, +it requires that the daemon is installed and running. + +This requires libg15, libg15render, and g15daemon. diff --git a/misc/g15composer/g15composer.SlackBuild b/misc/g15composer/g15composer.SlackBuild new file mode 100644 index 0000000000000..c2487667141c9 --- /dev/null +++ b/misc/g15composer/g15composer.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for g15composer + +# Copyright (c) 2009 Alan Alberghini <414N@slacky.it> +# All rights reserved. +# +# Permission to use, copy, modify, and distribute this software for +# any purpose with or without fee is hereby granted, provided that +# the above copyright notice and this permission notice appear in all +# copies. +# +# THIS SOFTWARE IS PROVIDED AS IS'' AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR +# CONTRIBUTORS 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=g15composer +VERSION=${VERSION:-3.2} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +DOCS="README AUTHORS ChangeLog NEWS COPYING" + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +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 . +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make install-strip docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG + +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +) + +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/g15composer/g15composer.info b/misc/g15composer/g15composer.info new file mode 100644 index 0000000000000..6e8eb35fcf516 --- /dev/null +++ b/misc/g15composer/g15composer.info @@ -0,0 +1,10 @@ +PRGNAM="g15composer" +VERSION="3.2" +HOMEPAGE="http://www.g15tools.com" +DOWNLOAD="http://downloads.sourceforge.net/project/g15tools/g15composer/3.2/g15composer-3.2.tar.bz2" +MD5SUM="c1eda0cc1fb45a126f6a9b9250e6038c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Alan Alberghini" +EMAIL="414N@slacky.it" +APPROVED="rworkman" diff --git a/misc/g15composer/slack-desc b/misc/g15composer/slack-desc new file mode 100644 index 0000000000000..1e6ed181735f6 --- /dev/null +++ b/misc/g15composer/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--------------------------------------------------------| +g15composer: G15composer (interface to libg15render) +g15composer: +g15composer: G15composer is a scriptable command interface to the libg15render +g15composer: drawing functions that outputs to a G15daemon screen. +g15composer: +g15composer: http://www.g15tools.com +g15composer: +g15composer: +g15composer: +g15composer: +g15composer: |