Unix/Linux Packages

Revision as of 15:06, 30 April 2008 by Arnofiva (Talk | contribs)


Requirements

The best way to use the packaging scripts, is to use a PorterPackage. You can build one yourself using the make_delivery script or simply download one from http://dev.eiffel.com/Downloads. The PorterPackage should already contain all necessary scripts and files.

Next thing you will need is a compiled EiffelXY delivery. Running compile_exes will give you a freshly compiled EiffelXY delivery where set_aliases is already set up correctly. Alternatively, you could also use a prebuilt delivery. Change $FINAL_INSTALL_DIR in set_aliases so it points to your delivery. Also don't forget to change $MAJOR_NUMBER, $MINOR_NUMBER and $VERSION to the version of your delivery.

Debian packages

Following debian packages are required:

  • build-essential
  • devscripts
  • debhelper
  • fakeroot
  • lintian (optional)

To install the packages, copy paste following code into a root shell:

apt-get install build-essential devscripts debhelper fakeroot lintian

RPM packages

Following RPM packages are required:

  • rpm-build

To install the package, copy past following code into a root shell:

yum install rpm-build

Creating the packages

Debian

make_debian_package $ISE_PLATFORM

RPM packages

make_rpm_package $ISE_PLATFORM


Implementation Details