diff options
Diffstat (limited to 'development/energia')
-rw-r--r-- | development/energia/README | 19 | ||||
-rw-r--r-- | development/energia/energia.SlackBuild | 20 | ||||
-rw-r--r-- | development/energia/energia.info | 6 |
3 files changed, 28 insertions, 17 deletions
diff --git a/development/energia/README b/development/energia/README index 7092e5ce87..7d1963f934 100644 --- a/development/energia/README +++ b/development/energia/README @@ -13,16 +13,17 @@ with designers and artists in mind to encourage a community where both beginners and experts from around the world share ideas, knowledge and their collective experience. -The Energia team adopts the philosophy of learning by doing and strives to -make it easy to work directly with the hardware. Professional engineers, -entrepreneurs, makers, and students can all benefit from the ease of -use Energia brings to the microcontroller. +The Energia team adopts the philosophy of learning by doing and strives +to make it easy to work directly with the hardware. Professional +engineers, entrepreneurs, makers, and students can all benefit from the +ease of use Energia brings to the microcontroller. -Energia started out to bring the Wiring and Arduino framework to the Texas -Instruments MSP430 LaunchPad. Texas Instruments offers a MSP430, TM4C, -C2000, and CC3200 LaunchPad. The LaunchPad is a low-cost microcontroller -board that is made by Texas Instruments. The latest release of Energia -supports the majority of the LaunchPad product offerings. +Energia started out to bring the Wiring and Arduino framework to +the Texas Instruments MSP430 LaunchPad. Texas Instruments offers a +MSP430, TM4C, C2000, and CC3200 LaunchPad. The LaunchPad is a low-cost +microcontroller board that is made by Texas Instruments. The latest +release of Energia supports the majority of the LaunchPad product +offerings. Together with Energia, LaunchPad can be used to develop interactive objects, taking inputs from a variety of switches or sensors, and diff --git a/development/energia/energia.SlackBuild b/development/energia/energia.SlackBuild index a60c847405..4e24d609f2 100644 --- a/development/energia/energia.SlackBuild +++ b/development/energia/energia.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Energia @@ -22,25 +22,35 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=energia VERSION=${VERSION:-0101E0014} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then +if [ "$ARCH" = "i586" ]; then LIBDIRSUFFIX="" SRCSUFFIX="-linux" elif [ "$ARCH" = "i686" ]; then @@ -108,4 +118,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/energia/energia.info b/development/energia/energia.info index 5e332169b6..b1867dd958 100644 --- a/development/energia/energia.info +++ b/development/energia/energia.info @@ -1,10 +1,10 @@ PRGNAM="energia" VERSION="0101E0014" HOMEPAGE="http://energia.nu/" -DOWNLOAD="http://energia.nu/downloads/downloadv3.php?file=energia-0101E0014-linux.tgz" +DOWNLOAD="https://ponce.cc/slackware/sources/repo/energia-0101E0014-linux.tgz" MD5SUM="934899c503c8f325288d60530e3369bb" -DOWNLOAD_x86_64="http://energia.nu/downloads/downloadv3.php?file=energia-0101E0014-linux64.tgz" +DOWNLOAD_x86_64="https://ponce.cc/slackware/sources/repo/energia-0101E0014-linux64.tgz" MD5SUM_x86_64="2badad8a522a48d65a5a938c1b4e5eba" -REQUIRES="jdk" +REQUIRES="zulu-openjdk8" MAINTAINER="Erwin van Zanten" EMAIL="e.van.zanten.evz@gmail.com" |