Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmarco committed Mar 20, 2015
1 parent 52db42b commit 458d6bf
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
27 changes: 27 additions & 0 deletions build/pkgs/libhomfly/SPKG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
= LIBHOMFLY =

== Description ==

libhomfly is a library to compute the homfly polynomial of knots and links.

== License ==

Public domain

== SPKG Maintainers ==

* Miguel Marco

== Upstream Contact ==

Miguel Marco (mmarco@unizar.es)

== Dependencies ==

* gcc
* boehmgc

== Special Update/Build Instructions ==

There is no installation script, just copy the library and the header to the
corresponding directories.
4 changes: 4 additions & 0 deletions build/pkgs/libhomfly/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tarball=libhomfly-VERSION.tar.gz
sha1=d1461f3f53caa4489617d10b1114ff322a1e9b83
md5=5ca3136316ffac6953c35c545248fa62
cksum=1179142519
1 change: 1 addition & 0 deletions build/pkgs/libhomfly/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0
17 changes: 17 additions & 0 deletions build/pkgs/libhomfly/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

cd src


$MAKE
if [ $? -ne 0 ]; then
echo >&2 "Error building PACKAGE_NAME."
exit 1
fi

cp homfly.h $SAGE_LOCAL/include/
cp libhomfly.so $SAGE_LOCAL/lib/
if [ $? -ne 0 ]; then
echo >&2 "Error installing PACKAGE_NAME."
exit 1
fi

0 comments on commit 458d6bf

Please sign in to comment.