[plug] Building Debian packages (.deb)

Ryan ryan at prodigital.net.au
Mon Jan 7 12:37:19 WST 2002


Yep, that seems to work fine for me too,  things are so easy when you know 
how :P

Something to note for people trying this however, is that the indentations 
in the Makefile MUST be tabs, 8 spaces doesn't cut it.

Thanks!

Ryan

At 10:56 AM 07-01-02 +0800, you wrote:
>cat - > Makefile
>all:
>         echo "MP3stream build stuff here"
>
>install:
>         cp mp3stream.pl $(DESTDIR)/usr/bin/
>         cp mp3stream.conf $(DESTDIR)/etc/
>         cp mp3stream $(DESTDIR)/etc/init.d/
>^D
>dh_make
>(Select single binary)
>(Edit debian/* to add author name etc)
>dpkg-buildpackage -rfakeroot
>
>Done!
>
>Or that's how I usually do hackish packages for myself :-)
>
>--
>Grahame Bowland                       Email: grahame at ucs.uwa.edu.au
>University Communications Services    Phone: +61 8 9380 1175
>The University of Western Australia     Fax: +61 8 9380 1109
>                                      CRICOS: 00126G



More information about the plug mailing list