mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/io: Added to 12.1 repository
This commit is contained in:
parent
179a2c0fdb
commit
a482db8c57
4 changed files with 88 additions and 0 deletions
1
development/io/README
Normal file
1
development/io/README
Normal file
|
@ -0,0 +1 @@
|
|||
io is a small, prototype-based programming language.
|
60
development/io/io.SlackBuild
Normal file
60
development/io/io.SlackBuild
Normal file
|
@ -0,0 +1,60 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for the io language
|
||||
# Written by Thiago Coutinho <thiagocoutinho1[@]gmail.com>
|
||||
|
||||
# Modified by the SlackBuilds.org project.
|
||||
|
||||
PRGNAM=io
|
||||
VERSION=2008.03.30
|
||||
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"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf stevedekorte-io-*
|
||||
tar xvf $CWD/stevedekorte-io-*.tar.gz
|
||||
cd stevedekorte-io-*
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
make vm \
|
||||
INSTALL_PREFIX=$PKG/usr
|
||||
make install \
|
||||
INSTALL_PREFIX=$PKG/usr
|
||||
|
||||
# Wow. That's all I'll say. --rworkman
|
||||
# These are the same file - 2.7 MB each...
|
||||
cd $PKG/usr/bin
|
||||
rm -f libiovmall.so
|
||||
ln -s /usr/lib/libiovmall.so .
|
||||
cd -
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a docs/* $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
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
8
development/io/io.info
Normal file
8
development/io/io.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="io"
|
||||
VERSION="2008.03.30"
|
||||
HOMEPAGE="http://iolanguage.com"
|
||||
DOWNLOAD="http://github.com/tarballs/stevedekorte-io-4debb4b25740b8dd46ad16f43f04f0fc5b4a23e1.tar.gz"
|
||||
MD5SUM="fbf7dc8a8d37bf2f21c99618c8a4e6e4"
|
||||
MAINTAINER="Thiago Coutinho"
|
||||
EMAIL="thiagocoutinho1@gmail.com"
|
||||
APPROVED="Michiel,rworkman"
|
19
development/io/slack-desc
Normal file
19
development/io/slack-desc
Normal file
|
@ -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------------------------------------------------------|
|
||||
io: io (small, prototype-based programming language)
|
||||
io:
|
||||
io: Inspired by Smalltalk (values are objects, messages are dynamic),
|
||||
io: Self (prototype-based), NewtonScript (differential inheritance),
|
||||
io: Act1 (actors and futures for concurrency), LISP (code is a runtime
|
||||
io: inspectable/modifiable tree) and Lua (small, embeddable).
|
||||
io:
|
||||
io: Features: small vm (~10K semicolons), multi-state (multiple VMs run
|
||||
io: in the same process), incremental collector, weak links, actor-based
|
||||
io: concurrency, C99 implementation, 64bit clean exceptions, embeddable.
|
||||
io:
|
Loading…
Reference in a new issue