Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (2e705760639283efb706dc596d2470ab5195971e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (2e705760639283efb706dc596d2470ab5195971e)
  • Date: Wed, 12 Oct 2016 00:02:00 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
devel/szl/BUILD | 5 +++++
devel/szl/DEPENDS | 8 ++++++++
devel/szl/DETAILS | 29 +++++++++++++++++++++++++++++
devel/szl/DOWNLOAD | 17 +++++++++++++++++
devel/szl/HISTORY | 2 ++
6 files changed, 64 insertions(+)

New commits:
commit 2e705760639283efb706dc596d2470ab5195971e
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

szl: new spell, lightweight, embeddable scripting language

diff --git a/ChangeLog b/ChangeLog
index 83f45a1..2eafffe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2016-10-11 Vlad Glagolev <stealth AT sourcemage.org>
+ * devel/szl: new spell, lightweight, embeddable scripting language
+
2016-10-10 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* devel/uncrustify: new spell, a code beautifier for C-like languages

diff --git a/devel/szl/BUILD b/devel/szl/BUILD
new file mode 100755
index 0000000..be4bc4d
--- /dev/null
+++ b/devel/szl/BUILD
@@ -0,0 +1,5 @@
+if [[ ${SMGL_COMPAT_ARCHS[1]} == "x86_64" ]]; then
+ CFLAGS="-fPIC ${CFLAGS}"
+fi &&
+
+make
diff --git a/devel/szl/DEPENDS b/devel/szl/DEPENDS
new file mode 100755
index 0000000..ffed5c8
--- /dev/null
+++ b/devel/szl/DEPENDS
@@ -0,0 +1,8 @@
+depends git &&
+depends pkgconfig &&
+
+depends SSL &&
+depends zlib &&
+depends libffi &&
+depends curl &&
+depends libarchive
diff --git a/devel/szl/DETAILS b/devel/szl/DETAILS
new file mode 100755
index 0000000..20b0608
--- /dev/null
+++ b/devel/szl/DETAILS
@@ -0,0 +1,29 @@
+ SPELL=szl
+ VERSION=scm
+ SOURCE=${SPELL}-${VERSION}.tar.bz2
+ SOURCE_URL[0]=git://github.com/dimkr/${SPELL}
+ SOURCE_IGNORE=volatile
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=http://dimakrasner.com/szl
+ ENTERED=20161011
+ LICENSE[0]=MIT
+ KEYWORDS=""
+ SHORT="lightweight, embeddable scripting language"
+cat << EOF
+szl is a tiny, embeddable scripting engine inspired by Tcl and shell. It's a
+balanced mix of their key features: szl combines the simplicity of shell
+scripting with the power of a dynamic, Tcl-like type system, minimalistic
+syntax and programming language features missing in the shell, like
exceptions.
+
+szl comes with a rich standard library that includes bindings for
+permissively-licensed libraries. Therefore, it can run processes, parse text
+with transparent Unicode support, manipulate data structures like
dictionaries,
+operate on binary data, interface with C code through scripts, multiplex
+non-blocking I/O at scale, call REST APIs and much more, at a fraction of the
+memory and size footprint of other scripting languages, while achieving
+reasonable efficiency.
+
+szl can be used both as a standalone (either interactive or non-interactive)
+interpreter or as part of other projects, via the libszl library.
+EOF
diff --git a/devel/szl/DOWNLOAD b/devel/szl/DOWNLOAD
new file mode 100755
index 0000000..bf89cd8
--- /dev/null
+++ b/devel/szl/DOWNLOAD
@@ -0,0 +1,17 @@
+if file_exists $SOURCE_CACHE/$SOURCE; then
+ message "${MESSAGE_COLOR}Unpacking the source...${DEFAULT_COLOR}" &&
+ tar -xjf $SOURCE_CACHE/$SOURCE -C $(dirname $SOURCE_DIRECTORY) &&
+ cd $SOURCE_DIRECTORY &&
+ message "${MESSAGE_COLOR}Updating...${DEFAULT_COLOR}" &&
+ echo git pull &&
+ git pull &&
+ cd - > /dev/null
+else
+ message "${MESSAGE_COLOR}Doing a recursive clone...${DEFAULT_COLOR}" &&
+ echo git clone --recursive "$SOURCE_URL" "$SOURCE_DIRECTORY" &&
+ git clone --recursive "$SOURCE_URL" "$SOURCE_DIRECTORY"
+fi &&
+
+message "${MESSAGE_COLOR}Repacking the source...${DEFAULT_COLOR}" &&
+tar -cjf $SOURCE -C $(dirname $SOURCE_DIRECTORY) $(basename
$SOURCE_DIRECTORY) &&
+mv $SOURCE $SOURCE_CACHE
diff --git a/devel/szl/HISTORY b/devel/szl/HISTORY
new file mode 100644
index 0000000..3305f25
--- /dev/null
+++ b/devel/szl/HISTORY
@@ -0,0 +1,2 @@
+2016-10-10 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, BUILD, DOWNLOAD: created spell, version scm



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (2e705760639283efb706dc596d2470ab5195971e), Vlad Glagolev, 10/11/2016

Archive powered by MHonArc 2.6.24.

Top of Page