aboutsummaryrefslogtreecommitdiff
path: root/development/Pivy
diff options
context:
space:
mode:
authorAleksandar Samardzic <asamardzic@gmail.com>2010-05-12 17:38:13 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:38:13 +0200
commitcd6705175cb352300a1eb2cf15e0925ce0f3b625 (patch)
tree168513a40a13ad25153f25a9d24d3c07962ac32c /development/Pivy
parentf4a23c5a024e2cda67b2135e9aa2660bad2a1233 (diff)
development/Pivy: Updated for version 20081227
Diffstat (limited to 'development/Pivy')
-rw-r--r--development/Pivy/Pivy-mksrctarball.sh21
-rw-r--r--development/Pivy/Pivy.SlackBuild10
-rw-r--r--development/Pivy/Pivy.info8
-rw-r--r--development/Pivy/README20
-rw-r--r--development/Pivy/slack-desc2
5 files changed, 50 insertions, 11 deletions
diff --git a/development/Pivy/Pivy-mksrctarball.sh b/development/Pivy/Pivy-mksrctarball.sh
new file mode 100644
index 0000000000000..bfeaaa161cd54
--- /dev/null
+++ b/development/Pivy/Pivy-mksrctarball.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# This script helps you to download and compress the sourcecode for
+# Pivy from its svn server.
+
+set -e
+
+PRGNAM=Pivy
+VERSION=$(date +"%Y%m%d")
+SVNSERVER=https://svn.coin3d.org/repos/
+
+echo "--> Downloading sourcecode from $SVNSERVER"
+echo "t" | svn export $SVNSERVER/$PRGNAM/trunk $PRGNAM-$VERSION 2>&1 | tee svn-$PRGNAM-$VERSION.log
+
+echo "--> Making the sourcecode tarball: $PRGNAM-$VERSION.tar.bz2 "
+tar -c $PRGNAM-$VERSION/ | bzip2 > $PRGNAM-$VERSION.tar.bz2
+
+echo "--> Erasing the sourcecode directory: $PRGNAM-$VERSION/"
+rm -rf $PRGNAM-$VERSION/
+
+echo "--> Sourcecode tarball for $PRGNAM: $PRGNAM-$VERSION.tar.bz2"
diff --git a/development/Pivy/Pivy.SlackBuild b/development/Pivy/Pivy.SlackBuild
index 229c514b112cd..673dfb31b70f8 100644
--- a/development/Pivy/Pivy.SlackBuild
+++ b/development/Pivy/Pivy.SlackBuild
@@ -5,7 +5,7 @@
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
PRGNAM=Pivy
-VERSION=${VERSION:-0.4.0_svn}
+VERSION=${VERSION:-20081227}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -29,8 +29,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-latest.tar.gz
-cd $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -40,7 +40,6 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-python setup.py build
python setup.py install --root $PKG
( cd $PKG
@@ -49,7 +48,8 @@ python setup.py install --root $PKG
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog HACKING LICENSE NEWS README THANKS \
+cp -a \
+ AUTHORS ChangeLog HACKING LICENSE NEWS README THANKS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
diff --git a/development/Pivy/Pivy.info b/development/Pivy/Pivy.info
index 106e3009f6ddf..69e0ab7a8f93f 100644
--- a/development/Pivy/Pivy.info
+++ b/development/Pivy/Pivy.info
@@ -1,8 +1,8 @@
PRGNAM="Pivy"
-VERSION="0.4.0-svn"
+VERSION="20081227"
HOMEPAGE="http://pivy.coin3d.org/"
-DOWNLOAD="http://pivy.coin3d.org/download/snapshot/releases/daily/Pivy-latest.tar.gz"
-MD5SUM="298fd0b60aeade579fa2b302298d9298"
+DOWNLOAD="http://slackbuilds.org/sources/12.2/Pivy-20081227.tar.bz2"
+MD5SUM="24239874972c6ed35cde35d92646c146"
MAINTAINER="Aleksandar Samardzic"
EMAIL="asamardzic@gmail.com"
-APPROVED="Michiel"
+APPROVED="rworkman"
diff --git a/development/Pivy/README b/development/Pivy/README
index a1bc2ffef6372..d16604e664b71 100644
--- a/development/Pivy/README
+++ b/development/Pivy/README
@@ -8,5 +8,23 @@ Pivy allows:
* incorporation of Scripting Nodes into the scene graph which are
capable of executing Python code and callback functions
+This script is tested using the svn code from 20081227, and this is
+the tarball hosted on our site. You may elect to use this source code
+to build the package, or you can pull the latest from their subversion
+repository as indicated below.
+
+If you want to use the latest subversion source when building your
+Pivy package, you will need to get it from their svn server. To get
+the source code, you can use the included "Pivy-mksrctarball.sh"
+script, which will to download the source code and create a compressed
+tarball of it using the date (date +"%Y%m%d") as its version string.
+
+If you have already Pivy's source code as a tarball, for example:
+Pivy-20081227.tar.bz2
+You can tell the build script to use it with the following command:
+VERSION=20081227 ./Pivy.SlackBuild
+Note that this is the version that will be used by default unless you
+specify otherwise.
+
Pivy package depends on Coin and SWIG packages, both available from
-SlackBuilds.org. \ No newline at end of file
+SlackBuilds.org.
diff --git a/development/Pivy/slack-desc b/development/Pivy/slack-desc
index ba0de98fc17c9..5a7539595a1d3 100644
--- a/development/Pivy/slack-desc
+++ b/development/Pivy/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-Pivy: Pivy is a Coin binding for Python.
+Pivy: Pivy (a Coin binding for Python)
Pivy:
Pivy: Pivy is an extension to the Python programming language,
Pivy: wrapping Coin C++ scene graph library for usage from Python.