User Tools

Site Tools


sudo apt-get install build-essential dh-make debhelper devscripts fakeroot

cd making_a_deb/rdesktop-1.6.0
dh_make -e -f ../rdesktop-1.6.0.tar.gz

sh ../script

cd rdesktop-1.6.0/

Source: rdesktop
Section: unknown
Priority: extra
Maintainer: Thomas D Dahlmann <>
Build-Depends: debhelper (>= 5), autotools-dev, libc6-dev (>= 2.7-10ubuntu3 )
Standards-Version: 3.7.2

Package: rdesktop
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, binutils (>= 2.18.1~cvs20080103-0ubuntu1 ), coreutils (>= 6.10-3ubuntu2 ), libacl1 (>= 2.2.45-1 ), libattr1 (>=1 ), libc6 (>=2.7-10ubuntu3 ), libc6-i686 (>= 2.7-10ubuntu3 )
Description:  A Remote Desktop Protocol Client
 rdesktop is an open source client for Windows Terminal Services, capable of natively speaking Remote Desktop Protocol (RDP) in order to present the user's Windows desktop.
 Supported servers include Windows 2000 Server, Windows Server 2003, Windows Server 2008, Windows XP, Windows Vista and Windows NT Server 4.0.

finding dependencies - script:
 strace -f -o /tmp/log ./configure
       # or make instead of ./configure, if the package doesn't use autoconf
       for x in `dpkg -S $(grep open /tmp/log|\
                           perl -pe 's!.* open\(\"([^\"]*).*!$1!' |\
                           grep "^/"| sort | uniq|\
                           grep -v "^\(/tmp\|/dev\|/proc\)" ) 2>/dev/null|\
                           cut -f1 -d":"| sort | uniq`; \
             do \
               echo -n "$x (>=" `dpkg -s $x|grep ^Version|cut -f2 -d":"` "), "; \

cd rdesktop-1.6.0/
sudo dpkg-buildpackage -rfakeroot
indexes/making_a_deb.txt · Last modified: d/m/Y H:i by domingo