diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-06-10 22:59:54 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-06-15 07:37:41 +0700 |
commit | 50e492a4d3cf1da124f22a94a8dee17b636d970c (patch) | |
tree | 3fe42c9f839747675c16bbe0186aaa51a6a8b5d1 /development | |
parent | 10e920a38e2f0c106d30bd84ed718151c5807fb1 (diff) | |
download | slackbuilds-50e492a4d3cf1da124f22a94a8dee17b636d970c.tar.gz slackbuilds-50e492a4d3cf1da124f22a94a8dee17b636d970c.tar.xz |
development/groovy: Removed (see #6722).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/groovy/README | 13 | ||||
-rw-r--r-- | development/groovy/doinst.sh | 16 | ||||
-rw-r--r-- | development/groovy/groovy.SlackBuild | 107 | ||||
-rw-r--r-- | development/groovy/groovy.info | 12 | ||||
-rw-r--r-- | development/groovy/profile.d/groovy.csh | 3 | ||||
-rw-r--r-- | development/groovy/profile.d/groovy.csh.new | 2 | ||||
-rw-r--r-- | development/groovy/profile.d/groovy.sh | 3 | ||||
-rw-r--r-- | development/groovy/profile.d/groovy.sh.new | 2 | ||||
-rw-r--r-- | development/groovy/slack-desc | 19 |
9 files changed, 0 insertions, 177 deletions
diff --git a/development/groovy/README b/development/groovy/README deleted file mode 100644 index 558dcae3ac..0000000000 --- a/development/groovy/README +++ /dev/null @@ -1,13 +0,0 @@ -Groovy is a dynamic language for the Java platform. - -This sets GROOVY_HOME=/usr/<libdir>/groovy and PATH to include -/usr/<libdir>/groovy/bin. This SlackBuild provides one for sh and one -for csh. You can logout and login again or simply run: - -# source /etc/profile.d/groovy.sh - -The installation is like Java Runtime/SDK, in that it places everything -by default in /usr/<libdir>/groovy. - -The lib directory is set dependent upon the package architecture: -/usr/lib on x86 and /usr/lib64 on x86_64. diff --git a/development/groovy/doinst.sh b/development/groovy/doinst.sh deleted file mode 100644 index 1575140e0b..0000000000 --- a/development/groovy/doinst.sh +++ /dev/null @@ -1,16 +0,0 @@ -# Handle configuration files -config() { - NEW="$1" - OLD="`dirname $NEW`/`basename $NEW .new`" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} -# List of configuration files (they should end in .new) - -config etc/profile.d/groovy.sh.new -config etc/profile.d/groovy.csh.new diff --git a/development/groovy/groovy.SlackBuild b/development/groovy/groovy.SlackBuild deleted file mode 100644 index fa260b698a..0000000000 --- a/development/groovy/groovy.SlackBuild +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/bash - -# Slackware build script for groovy - -# Originally by Jockey S. Kyd (jockey dot kyd at gmail dot com) -# -# Modified by Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org -# 2017 | Dhaby Xiloj | slack.dhabyx@gmail.com - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version, with the following exception: -# the text of the GPL license may be omitted. - -# This program is distributed in the hope that it will be useful, but -# without any warranty; without even the implied warranty of -# merchantability or fitness for a particular purpose. Compiling, -# interpreting, executing or merely reading the text of the program -# may result in lapses of consciousness and/or very being, up to and -# including the end of all existence and the Universe as we know it. -# See the GNU General Public License for more details. - -# You may have received a copy of the GNU General Public License -# along with this program (most likely, a file named COPYING). If -# not, see <http://www.gnu.org/licenses/>. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=groovy -VERSION=${VERSION:-2.4.10} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$(uname -m)" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$(uname -m) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "x86_64" ]; then - LIBDIRSUFFIX="64" -else - LIBDIRSUFFIX="" -fi - -set -e -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -unzip $CWD/apache-$PRGNAM-binary-$VERSION.zip -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM -mv {bin,conf,embeddable,grooid,indy,lib} \ - $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM - -# clean .bat files -rm $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/bin/*.bat - -mkdir -p $PKG/usr/bin/ -pushd $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/bin -for file in *; do - ln -sf /usr/lib$LIBDIRSUFFIX/$PRGNAM/bin/$file $PKG/usr/bin/$file -done -popd - -# no need to install these with a .new extension -mkdir -p $PKG/etc/profile.d -cp $CWD/profile.d/$PRGNAM.*sh.new $PKG/etc/profile.d -sed -i "s|@LIBDIR@|/usr/lib$LIBDIRSUFFIX|" $PKG/etc/profile.d/$PRGNAM.*sh.new -chmod 0755 $PKG/etc/profile.d/$PRGNAM.*sh.new -chown root:root $PKG/etc/profile.d/$PRGNAM.*sh.new - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM -unzip $CWD/apache-$PRGNAM-docs-$VERSION.zip -d $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM -cp -r LICENSE licenses NOTICE $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.$PKGTYPE diff --git a/development/groovy/groovy.info b/development/groovy/groovy.info deleted file mode 100644 index d74411c35b..0000000000 --- a/development/groovy/groovy.info +++ /dev/null @@ -1,12 +0,0 @@ -PRGNAM="groovy" -VERSION="2.4.10" -HOMEPAGE="http://groovy-lang.org/" -DOWNLOAD="https://dl.bintray.com/groovy/maven/apache-groovy-binary-2.4.10.zip \ - https://dl.bintray.com/groovy/maven/apache-groovy-docs-2.4.10.zip" -MD5SUM="d73b320c568e5b937ea66bf0b09201ad \ - 4ff68245bf1689aa8515778efca09eb2" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="zulu-openjdk8" -MAINTAINER="DhabyX" -EMAIL="slack.dhabyx@gmail.com" diff --git a/development/groovy/profile.d/groovy.csh b/development/groovy/profile.d/groovy.csh deleted file mode 100644 index ed40d31646..0000000000 --- a/development/groovy/profile.d/groovy.csh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/csh -setenv GROOVY_HOME @LIBDIR@/groovy -setenv PATH ${PATH}:${GROOVY_HOME}/bin diff --git a/development/groovy/profile.d/groovy.csh.new b/development/groovy/profile.d/groovy.csh.new deleted file mode 100644 index d78d17c924..0000000000 --- a/development/groovy/profile.d/groovy.csh.new +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/csh -setenv GROOVY_HOME @LIBDIR@/groovy diff --git a/development/groovy/profile.d/groovy.sh b/development/groovy/profile.d/groovy.sh deleted file mode 100644 index 4c145d38ea..0000000000 --- a/development/groovy/profile.d/groovy.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -export GROOVY_HOME=@LIBDIR@/groovy -export PATH=${PATH}:${GROOVY_HOME}/bin diff --git a/development/groovy/profile.d/groovy.sh.new b/development/groovy/profile.d/groovy.sh.new deleted file mode 100644 index c17cf37e8f..0000000000 --- a/development/groovy/profile.d/groovy.sh.new +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -export GROOVY_HOME=@LIBDIR@/groovy diff --git a/development/groovy/slack-desc b/development/groovy/slack-desc deleted file mode 100644 index 022482efaf..0000000000 --- a/development/groovy/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -groovy: groovy (The Groovy programming language) -groovy: -groovy: Groovy is like a super version of Java. It can leverage Java's -groovy: enterprise capabilities but also has cool productivity features like -groovy: closures, builders and dynamic typing. If you are a developer, tester -groovy: or script guru, you have to love Groovy. -groovy: -groovy: http://groovy-lang.org/ -groovy: -groovy: -groovy: |