Differences between revisions 13 and 14
Revision 13 as of 2011-05-14 09:44:11
Size: 1080
Comment:
Revision 14 as of 2011-05-14 10:35:31
Size: 1084
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
su -c "apt-get install debhelper libexpat1-dev libsdl1.2-dev zlib1g-dev libxinerama-dev libgconf2-dev libgtk2.0-dev libsdl1.2-dev" su -c "apt-get install debhelper libexpat1-dev libsdl1.2-dev zlib1g-dev libxinerama-dev libgconf2-dev libgtk2.0-dev libsdl-ttf2.0-dev"

Here we take the example of the package mame, which exists in Debian Sid, but not in the stable release. We don't need to be root !

Install Debian SDK

su -c "apt-get install devscripts build-essential"

Download the .dsc file from the sid release

dget http://ftp.de.debian.org/debian/pool/non-free/m/mame/mame_0.142-1.dsc

Install dependencies as found in debian/control

cd mame-0.142
grep Build-Depends debian/control
Build-Depends: debhelper (>= 8), libexpat1-dev, libsdl1.2-dev, zlib1g-dev, libxinerama-dev, libgconf2-dev, libgtk2.0-dev, libsdl-ttf2.0-dev
su -c "apt-get install debhelper libexpat1-dev libsdl1.2-dev zlib1g-dev libxinerama-dev libgconf2-dev libgtk2.0-dev libsdl-ttf2.0-dev"

Test if we can successfully build the package

fakeroot debian/rules binary

Build a package properly , without GPG signing the package

dpkg-buildpackage -us -uc

Install and enjoy !

su -c "dpkg -i ../mame_0.142-1_amd64.deb"