summaryrefslogtreecommitdiff
path: root/academic/octave-forge/README
blob: 0804fe0f43bd179eb9aafd81328b4690ec70b0af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
This is a script to package Octave-Forge, the main source for
out-of-mainline Octave packages.

The Octave-Forge packages are grouped into four categories (main,
extra, language and nonfree). By default the script packages all of
them, but you can specify a different behavior with the REPOS
variable. For example,
  REPOS=main,extra ./octave-forge.SlackBuild
will build only the "main" and "extra" repositories.
Parallel compilation (JOBS=...) is not supported.

If you want to build a newer version of Octave-Forge, you need to
regenerate the Octave script that performs the build itself. To do
this, run generate-installscript.sh after updating the usual variables
near the beginning.

This script requires Octave, available on SlackBuilds.org.
Some packages also have dependencies on external components, not
available on stock Slackware or SlackBuilds.org. These components
(and, more generally, packages failing compilation) are automatically
excluded from the package.

Note: on package removal, you should run as root:
  mkdir -p /usr/share/octave/packages && \
  octave --silent --eval "pkg rebuild"