Difference between revisions of "Unix/Linux Packages"

 
Line 1: Line 1:
 
[[Category:Build Scripts]]
 
[[Category:Build Scripts]]
  
== Overview ==
+
== 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.
  
== Debian packages ==
+
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 ===
  
== RPM 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:
 +
 
 +
<pre>
 +
apt-get install build-essential devscripts debhelper fakeroot lintian
 +
</pre>
 +
 
 +
=== RPM packages ===
 +
 
 +
Following RPM packages are required:
 +
* rpm-build
 +
 
 +
To install the package, copy past following code into a root shell:
 +
 
 +
<pre>
 +
yum install rpm-build
 +
</pre>
 +
 
 +
== Creating the packages ==
 +
 
 +
=== Debian ===
 +
 
 +
<pre>
 +
make_debian_package $ISE_PLATFORM
 +
</pre>
 +
 
 +
=== RPM packages ===
 +
 
 +
<pre>
 +
make_rpm_package $ISE_PLATFORM
 +
</pre>
 +
 
 +
 
 +
== Implementation Details ==

Revision as of 16:06, 30 April 2008


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