diff options
Diffstat (limited to 'development')
-rw-r--r-- | development/dart/README | 6 | ||||
-rw-r--r-- | development/dart/dart.SlackBuild | 80 | ||||
-rw-r--r-- | development/dart/dart.csh.new | 2 | ||||
-rw-r--r-- | development/dart/dart.info | 15 | ||||
-rw-r--r-- | development/dart/dart.sh.new | 2 | ||||
-rw-r--r-- | development/dart/doinst.sh | 15 | ||||
-rw-r--r-- | development/dart/slack-desc | 19 |
7 files changed, 0 insertions, 139 deletions
diff --git a/development/dart/README b/development/dart/README deleted file mode 100644 index aa4401737ce0..000000000000 --- a/development/dart/README +++ /dev/null @@ -1,6 +0,0 @@ -Dart is an application programming language that’s easy to learn, -easy to scale, and deployable everywhere. - -Google depends on Dart to make very large apps. - -This SBo script packages the binary release from Google. diff --git a/development/dart/dart.SlackBuild b/development/dart/dart.SlackBuild deleted file mode 100644 index 319859ae9b00..000000000000 --- a/development/dart/dart.SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -# Slackware build script for <dart> - -# Copyright 2016-2019 Zhu Qun-Ying -# 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=dart -VERSION=${VERSION:-2.6.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -echo "arch $ARCH" -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" == "x86_64" ]; then - PKG_PLATFORM="x64" -elif [ "$ARCH" == "i586" ]; then - PKG_PLATFORM="ia32" -elif [ "$ARCH" == "arm" ]; then - PKG_PLATFORM="arm" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP - -mkdir -p $PKG/opt -cd $PKG/opt - -unzip $CWD/dartsdk-linux-$PKG_PLATFORM-release.zip -unzip $CWD/dartdocs-gen-api.zip - -mkdir -p $PKG/usr/doc/dart-$VERSION -cp $CWD/dart.SlackBuild $PKG/usr/doc/dart-$VERSION -mv gen-dartdocs $PKG/usr/doc/dart-$VERSION/doc - -mkdir -p $PKG/etc/profile.d -cp $CWD/dart.*sh.new $PKG/etc/profile.d - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -chmod +x $PKG/opt/dart-sdk/bin/resources -chmod +x $PKG/opt/dart-sdk/bin/resources/dartdoc/ - -cd $PKG -chmod +rx opt/dart-sdk opt/dart-sdk/bin opt/dart-sdk/bin/snapshots/ -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/dart/dart.csh.new b/development/dart/dart.csh.new deleted file mode 100644 index 2b3808b6bbd9..000000000000 --- a/development/dart/dart.csh.new +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/csh -setenv PATH ${PATH}:/opt/dart-sdk/bin diff --git a/development/dart/dart.info b/development/dart/dart.info deleted file mode 100644 index e4928afe05d1..000000000000 --- a/development/dart/dart.info +++ /dev/null @@ -1,15 +0,0 @@ -PRGNAM="dart" -VERSION="2.6.1" -HOMEPAGE="https://www.dartlang.org/" -DOWNLOAD="https://storage.googleapis.com/dart-archive/channels/stable/release/2.6.1/sdk/dartsdk-linux-ia32-release.zip \ -https://storage.googleapis.com/dart-archive/channels/stable/release/2.6.1/api-docs/dartdocs-gen-api.zip" -MD5SUM="d97f80017e3ef342db9d93529056c11c \ - 2b17c257b7adf3c6233edbe131c9035f" -DOWNLOAD_x86_64="https://storage.googleapis.com/dart-archive/channels/stable/release/2.6.1/sdk/dartsdk-linux-x64-release.zip \ -https://storage.googleapis.com/dart-archive/channels/stable/release/2.6.1/api-docs/dartdocs-gen-api.zip" -MD5SUM_x86_64="dda7917caa56bfa04eb62eab3c3df6cd \ - 2b17c257b7adf3c6233edbe131c9035f" - -REQUIRES="" -MAINTAINER="Zhu Qun-Ying" -EMAIL="zhu.qunying@gmail.com" diff --git a/development/dart/dart.sh.new b/development/dart/dart.sh.new deleted file mode 100644 index ad51f09bfe58..000000000000 --- a/development/dart/dart.sh.new +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -export PATH=$PATH:/opt/dart-sdk/bin diff --git a/development/dart/doinst.sh b/development/dart/doinst.sh deleted file mode 100644 index ae2f300e8412..000000000000 --- a/development/dart/doinst.sh +++ /dev/null @@ -1,15 +0,0 @@ -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... -} - -config etc/profile.d/dart.csh.new -config etc/profile.d/dart.sh.new diff --git a/development/dart/slack-desc b/development/dart/slack-desc deleted file mode 100644 index 23a9dbe8c75a..000000000000 --- a/development/dart/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------------------------------------------------------| -dart: dart (An application programming language) -dart: -dart: Dart is an application programming language that’s easy to learn, -dart: easy to scale, and deployable everywhere. -dart: -dart: Google depends on Dart to make very large apps. -dart: -dart: This SBo script packages the binary release from Google. -dart: -dart: Homepage: http://www.dartlang.org -dart: |