From a5f77f6dbe9ffab904707a9c4a773a83ac9b8595 Mon Sep 17 00:00:00 2001 From: Michiel Date: Tue, 11 May 2010 22:53:21 +0200 Subject: desktop/kcometen3: Added to 12.1 repository --- desktop/kcometen3/README | 1 + desktop/kcometen3/kcometen3.SlackBuild | 79 ++++++++++++++++++++++++++++++++++ desktop/kcometen3/kcometen3.info | 8 ++++ desktop/kcometen3/slack-desc | 19 ++++++++ 4 files changed, 107 insertions(+) create mode 100644 desktop/kcometen3/README create mode 100644 desktop/kcometen3/kcometen3.SlackBuild create mode 100644 desktop/kcometen3/kcometen3.info create mode 100644 desktop/kcometen3/slack-desc (limited to 'desktop/kcometen3') diff --git a/desktop/kcometen3/README b/desktop/kcometen3/README new file mode 100644 index 0000000000..8068defb9c --- /dev/null +++ b/desktop/kcometen3/README @@ -0,0 +1 @@ +KCometen3 is an OpenGL screensaver for KDE. diff --git a/desktop/kcometen3/kcometen3.SlackBuild b/desktop/kcometen3/kcometen3.SlackBuild new file mode 100644 index 0000000000..4f85aabf38 --- /dev/null +++ b/desktop/kcometen3/kcometen3.SlackBuild @@ -0,0 +1,79 @@ +#!/bin/sh +# +# SlackBuild Script for kcometen3 + +# Copyright 2007-2008. Michiel van Wessem, Manchester, United Kingdom +# 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=kcometen3 +VERSION=1.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" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $TMP/$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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --localstatedir=/var \ + --sysconfdir=/etc/kde \ + --program-prefix="" \ + --program-suffix="" \ + --disable-debug \ + --build=$ARCH-slackware-linux + +make +make install-strip DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/desktop/kcometen3/kcometen3.info b/desktop/kcometen3/kcometen3.info new file mode 100644 index 0000000000..f80e5c0f5e --- /dev/null +++ b/desktop/kcometen3/kcometen3.info @@ -0,0 +1,8 @@ +PRGNAM="kcometen3" +VERSION="1.1" +HOMEPAGE="http://user.cs.tu-berlin.de/~pmueller/" +DOWNLOAD="http://user.cs.tu-berlin.de/~pmueller/files/kcometen3-1.1.tar.gz" +MD5SUM="36f846b6a3e5f71c4532070b1f17b717" +MAINTAINER="Michiel" +EMAIL="michiel.van.wessem@gmail.com" +APPROVED="rworkman" diff --git a/desktop/kcometen3/slack-desc b/desktop/kcometen3/slack-desc new file mode 100644 index 0000000000..387ff3ebe2 --- /dev/null +++ b/desktop/kcometen3/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------------------------------------------------------| +kcometen3: kcometen3 (an OpenGL screensaver) +kcometen3: +kcometen3: KCometen3 is an OpenGL screensaver for KDE. +kcometen3: +kcometen3: homepage: http://www.kde-apps.org/content/show.php?content=30313 +kcometen3: +kcometen3: +kcometen3: +kcometen3: +kcometen3: +kcometen3: -- cgit v1.2.3