Skip to content

Packaging Instructions

Ashish Gehani edited this page Jul 27, 2015 · 7 revisions

Below are instructions for creating SPADE packages for deployment on Mac or Linux:

Mac OS X

For packaging on Mac OS X, it is assumed that you have MacPorts installed on your system. The MacPorts guide's section on local PortFile repositories describes the steps to create a PortFile. Instead, you can download SPADE's PortFile. Once the local port is added to the PortIndex as per the instructions in the guide, it becomes available for installing and packaging:

sudo port install spade
port pkg spade

The above steps will create a SPADE pkg file for deployment on Mac OS X systems.

Linux

For creating a Debian package for deployment on Linux, it is assumed that you have dh_make and dpkg installed. After navigating to an empty directory, the steps to create a package are as follows:

git clone https://github.com/ashish-gehani/SPADE.git
cd SPADE
dh_make --createorig
cd debian/
rm *.ex *.EX
cd ..
dpkg-buildpackage 
Clone this wiki locally