1 | # $Id:$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name octave-database |
---|
6 | version 1.0.1 |
---|
7 | categories math science |
---|
8 | platforms darwin |
---|
9 | maintainers andrea.damore alakazam |
---|
10 | description These are bindings that allow SQL queries and other database operations on postgres, mysql, sqlite, and standard ODBC databases from within Octave. A simplified interface that is uniform across all database types is provided, as well as the entire C client API for each database (libpq, libmysqlclient, etc). |
---|
11 | long_description ${description} |
---|
12 | |
---|
13 | homepage http://octave.sourceforge.net/ |
---|
14 | master_sites sourceforge:octave |
---|
15 | |
---|
16 | distname database-1.0.1 |
---|
17 | |
---|
18 | checksums \ |
---|
19 | database-1.0.1.tar.gz \ |
---|
20 | md5 460b0b3eac92654a63a07b8c95be3880 \ |
---|
21 | sha1 4eefe67c007f71129e6f71f6dc9baf4e29c32862 \ |
---|
22 | rmd160 490fc28735afe6213006e6f403187f1036de677e |
---|
23 | |
---|
24 | depends_lib-append port:octave port:sqlite3 port:mysql5 port:swig |
---|
25 | |
---|
26 | # port:postgresql82 port:unixODBC port:odbc-postgresql |
---|
27 | |
---|
28 | post-destroot { |
---|
29 | move ${destroot}${prefix}/share/octave/octave_packages ${destroot}${prefix}/share/octave/octave_packages_${name} |
---|
30 | } |
---|
31 | |
---|
32 | post-activate { |
---|
33 | system "octave --eval \"pkg rebuild\"" |
---|
34 | } |
---|
35 | |
---|
36 | livecheck.check regex |
---|
37 | livecheck.url http://octave.sourceforge.net/packages.html |
---|
38 | livecheck.regex http://downloads\.sourceforge\.net/octave/database-(\\d+(\\.\\d+)*)\.tar\.gz |
---|