summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorAlex Lysenka <me@alkos333.net>2010-05-11 14:05:50 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 14:05:50 +0200
commitd171842e7b03248a8ae347be8b53e7c7f503c951 (patch)
treee3a5e46146f3581d6e4e82bae076bfba8b2df425 /development
parent95ab6dc624a5be08f430558c86da23db15d3c58f (diff)
downloadslackbuilds-d171842e7b03248a8ae347be8b53e7c7f503c951.tar.gz
development/Amaya: Initial import
Diffstat (limited to 'development')
-rw-r--r--development/Amaya/Amaya.SlackBuild70
-rw-r--r--development/Amaya/Amaya.info8
-rw-r--r--development/Amaya/README16
-rw-r--r--development/Amaya/slack-desc11
4 files changed, 105 insertions, 0 deletions
diff --git a/development/Amaya/Amaya.SlackBuild b/development/Amaya/Amaya.SlackBuild
new file mode 100644
index 0000000000..78c2a83eec
--- /dev/null
+++ b/development/Amaya/Amaya.SlackBuild
@@ -0,0 +1,70 @@
+#!/bin/sh
+
+# Slackware build script for Amaya
+# Written by Alex Lysenka <me@alkos333.net>
+# Licensed under GNU GPL v2
+
+# Modified by the slackbuilds.org project
+
+PRGNAM=Amaya
+VERSION=9.54
+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"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP || exit 1
+rm -rf $TMP/$PRGNAM$VERSION
+tar -xzvf $CWD/$(echo $PRGNAM |tr [A] [a])-sources-$VERSION.tgz || exit 1
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+# Creating a subdirectory as specified in the README as we Have to run
+# configure from within a subdir
+mkdir $PRGNAM$VERSION/$PRGNAM/Slackware
+cd $PRGNAM$VERSION/$PRGNAM/Slackware
+
+CFLAGS="$SLKFLAGS" \
+ ../configure \
+ --prefix=$PKG/opt \
+ --exec-prefix=$PKG/opt \
+ --sysconfdir=$PKG/etc \
+ --localstatedir=$PKG/var
+
+make || exit 1
+make install || exit 1
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $TMP/$PRGNAM$VERSION/$PRGNAM/README* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Creating /usr/bin/amaya-wx symbolic link
+mkdir -p $PKG/usr/bin
+( cd $PKG/usr/bin
+ ln -sf ../../opt/$PRGNAM-$VERSION/wx/bin/amaya amaya
+)
+
+# Deleting useless files
+rm -rf $PKG/opt/bin
+
+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 || exit 1
+
diff --git a/development/Amaya/Amaya.info b/development/Amaya/Amaya.info
new file mode 100644
index 0000000000..6a3d0fc615
--- /dev/null
+++ b/development/Amaya/Amaya.info
@@ -0,0 +1,8 @@
+PRGNAM="Aamaya"
+VERSION="9.54"
+HOMEPAGE="http://www.w3.org/Amaya"
+DOWNLOAD="http://www.w3.org/Amaya/Distribution/amaya-sources-9.54.tgz"
+MD5SUM="d907d6e9fc349e4eaeca49c163a6829f"
+MAINTAINER="Alex Lysenka"
+EMAIL="me@alkos333.net"
+APPROVED="BP{k}" \ No newline at end of file
diff --git a/development/Amaya/README b/development/Amaya/README
new file mode 100644
index 0000000000..c643bbe439
--- /dev/null
+++ b/development/Amaya/README
@@ -0,0 +1,16 @@
+Amaya is a Web editor, i.e. a tool used to create and update documents directly
+on the Web. Browsing features are seamlessly integrated with the editing and
+remote access features in a uniform environment. This follows the original
+vision of the Web as a space for collaboration and not just a one-way
+publishing medium.
+
+Work on Amaya started at W3C in 1996 to showcase Web technologies in a
+fully-featured Web client. The main motivation for developing Amaya was to
+provide a framework that can integrate as many W3C technologies as possible.
+It is used to demonstrate these technologies in action while taking advantage
+of their combination in a single, consistent environment.
+
+Amaya started as an HTML + CSS style sheets editor. Since that time it was
+extended to support XML and an increasing number of XML applications such as
+the XHTML family, MathML, and SVG. It allows all those vocabularies to be
+edited simultaneously in compound document \ No newline at end of file
diff --git a/development/Amaya/slack-desc b/development/Amaya/slack-desc
new file mode 100644
index 0000000000..a9fdee8bd8
--- /dev/null
+++ b/development/Amaya/slack-desc
@@ -0,0 +1,11 @@
+Amaya:
+Amaya: Amaya is a Web editor, i.e. a tool used to create and update
+Amaya: documents directly on the Web. Browsing features are seamlessly
+Amaya: integrated with the editing and remote access features in a uniform
+Amaya: environment. This follows the original vision of the Web as a space
+Amaya: for collaboration and not just a one-way publishing medium.
+Amaya:
+Amaya:
+Amaya:
+Amaya: Homepage: http://www.w3.org/Amaya
+Amaya: