Difference between revisions of "Debian package"

From OdaWiki
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Install all of the debian packaging utilities and the build environment utilities. Also make sure you have libsdl-dev,libsdl-mixer1.2-dev and wxgtk installed- sudo apt-get install dpkg-dev file gcc g++ libc6-dev
 
 
This is how to build the Debian/Ubuntu package
 
This is how to build the Debian/Ubuntu package
  
 
= Instructions =
 
= Instructions =
  
make patch perl autoconf automake dh-make debhelper devscripts gnupg
+
* Install all of the debian packaging utilities and the build environment utilities. Also make sure you have libsdl-dev,libsdl-mixer1.2-dev and wxgtk installed- sudo apt-get install dpkg-dev file gcc g++ libc6-dev
  
Download the skeleton debian packaging at http://nuxified.org/odamex/odamex-0.<version>/skel.tar.gz
+
* make patch perl autoconf automake dh-make debhelper devscripts gnupg
  
Create a folder titled 'odamex-<version>'. Example: mkdir odamex-0.3
+
* Download the skeleton debian packaging at http://nuxified.org/odamex/odamex-0.<version>/skel.tar.gz
  
Grab a source tarball from http://odamex.net/ and place it in the same place as the directory 'odamex-<version>'
+
* Create a folder titled 'odamex-<version>'. Example: mkdir odamex-0.3
  
cd into the directory 'odamex-<version>'
+
* Grab a source tarball from http://odamex.net/ and place it in the same place as the directory 'odamex-<version>'
  
run dh_make -e your.email@address -f ../<name of the tarball you downloaded>
+
* cd into the directory 'odamex-<version>'
  
remove the newly created debian/ and extract the skeleton into the directory
+
* run dh_make -e your.email@address -f ../<name of the tarball you downloaded>
  
if the source code is not already in the directory with debian/, extract the tarball you downloaded inside the directory.
+
* remove the newly created debian/ and extract the skeleton into the directory
  
run 'dpkg-buildpackage -rfakeroot' in the same directory with debian/
+
* if the source code is not already in the directory with debian/, extract the tarball you downloaded inside the directory.
  
you should have a .deb package up one directory if everything checked out right
+
* run 'dpkg-buildpackage -rfakeroot' in the same directory with debian/
  
step 11: to rebuild without recompiling, run 'fakeroot debian/rules binary'
+
* you should have a .deb package up one directory if everything checked out right
 +
 
 +
* to rebuild without recompiling, run 'fakeroot debian/rules binary'

Latest revision as of 12:21, 29 May 2008

This is how to build the Debian/Ubuntu package

Instructions

  • Install all of the debian packaging utilities and the build environment utilities. Also make sure you have libsdl-dev,libsdl-mixer1.2-dev and wxgtk installed- sudo apt-get install dpkg-dev file gcc g++ libc6-dev
  • make patch perl autoconf automake dh-make debhelper devscripts gnupg
  • Create a folder titled 'odamex-<version>'. Example: mkdir odamex-0.3
  • Grab a source tarball from http://odamex.net/ and place it in the same place as the directory 'odamex-<version>'
  • cd into the directory 'odamex-<version>'
  • run dh_make -e your.email@address -f ../<name of the tarball you downloaded>
  • remove the newly created debian/ and extract the skeleton into the directory
  • if the source code is not already in the directory with debian/, extract the tarball you downloaded inside the directory.
  • run 'dpkg-buildpackage -rfakeroot' in the same directory with debian/
  • you should have a .deb package up one directory if everything checked out right
  • to rebuild without recompiling, run 'fakeroot debian/rules binary'