On Mon, Aug 18, 2008 at 7:11 PM, Martin Albrecht <[EMAIL PROTECTED]> wrote: > >> Ok, thanks for the reply. the spkg-install is just a bash-script, so >> whatever you do in a script is possible. Here is how it looks like >> currently: >> >> http://sage.math.washington.edu/home/ondrej/spkg/giac-0.8.0/spkg-install > > According to http://wiki.sagemath.org/SPKG_Audit this is what a standard/bare > minimum spkg-install script should look like. > --------------------------------------------------- > #!/usr/bin/env bash > > if [ "$SAGE_LOCAL" = "" ]; then > echo "SAGE_LOCAL undefined ... exiting"; > echo "Maybe run 'sage -sh'?" > exit 1 > fi > > cd src > > ./configure --prefix="$SAGE_LOCAL" > if [ $? -ne 0 ]; then > echo "Error configuring PACKAGE_NAME." > exit 1 > fi > > make > if [ $? -ne 0 ]; then > echo "Error building PACKAGE_NAME." > exit 1 > fi > > make install > if [ $? -ne 0 ]; then > echo "Error installing PACKAGE_NAME." > exit 1 > fi
Ah I see thanks. I used some other spkg package as a template. Ondrej --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
