Debian rules to generate a Debian package for Maple for amd64 architecture. The Maple installer Maple*LinuxX64Installer.run
corresponding to the version in changelog has to be provided to build the package.
The generated Debian package:
- installs Maple in
/opt/maple
- adds links to
maple
andxmaple
executables in/usr/bin
- adds icon and desktop menu entry in
/usr/share
- adds license file if provided
A license file license.dat
has to be provided to use Maple either next to the installer in order to be included in the package or need to be added in /opt/maple/license/
after the package is installed. To use a network license server the license.dat
is simply:
SERVER hostname-or-ip-of-license-server ANY 27000
USE_SERVER
Inspired by Maple Arch Linux PKGBUILD.
-
Define the desired version:
export VERSION=2022.2
-
Clone the git repository containing the packages rules in an empty directory:
git clone -b $VERSION https://github.com/guillod/deb-maple.git maple-$VERSION cd maple-$VERSION
-
Put the Maple installer
Maple${VERSION}LinuxX64Installer.run
in the current directory (maple-$VERSION
). -
Optionally, put a
license.dat
file (network license server) in the same directory in order to include it in the package. -
Generate the package for example with:
debuild --no-lintian -i -b -uc -us
or
sbuild
(note you can speed up the creation of the source archive using--dpkg-source-opts="-Zgzip -z1"
).
Once generated, the package maple_$VERSION_amd64.deb
can be installed for example with:
sudo apt install ../maple_$VERSION_amd64.deb
For comments, issues, bug-reports and requests, please use the issue tracker of the current repository. Otherwise the principal author can be reached at:
Julien Guillod
julien.guillod CHEZ sorbonne-universite.fr
https://guillod.org/
Department of Mathematics
Sorbonne University
France