Difference between revisions of "Unix/Linux Packages"
(→Requirements) |
|||
Line 3: | Line 3: | ||
== Requirements == | == 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. | + | 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 unpacked 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 | + | Next thing you will need is a compiled EiffelXY delivery. Running '''compile_exes''' in the PorterPackage will give you a fresh 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 | + | |
− | don't forget to change $MAJOR_NUMBER, $MINOR_NUMBER and $VERSION to the version of your delivery. | + | Alternatively, you could also use a prebuilt delivery. Change $FINAL_INSTALL_DIR in '''set_aliases''' so it points to the same directory as $ISE_EIFFEL. Also don't forget to change $MAJOR_NUMBER, $MINOR_NUMBER and $VERSION to the version of your delivery. |
=== Debian packages === | === Debian packages === |
Revision as of 07:32, 1 May 2008
Contents
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 unpacked PorterPackage should already contain all necessary scripts and files.
Next thing you will need is a compiled EiffelXY delivery. Running compile_exes in the PorterPackage will give you a fresh 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 the same directory as $ISE_EIFFEL. 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