Build your own .deb packages

I wanted to upgrade mydns on etch to mydns-ng and the package was missing.

So I decided to build my own using checkinstall which was missing for Debian etch, so I googled it and fond a link:


# wget http://debian.nix.hu/debian/dists/etch/checkinstall/binary-i386/checkins...

installed it

# dpkg -i checkinstall_1.6.1-1_i386.deb

downloaded mydns-ng


# wget http://switch.dl.sourceforge.net/sourceforge/mydns-ng/mydns-1.2.8.26.tar.gz


# tar -xzvf mydns-1.2.8.26.tar.gz


# cd mydns-1.2.8

the BUILD options for mydns:


# ./configure --prefix=/usr --mandir=\$${prefix}/share/man --enable-alias --infodir=\$${prefix}/share/info --disable-static-build --enable-debug

and then:


# checkinstall -exclude=/usr/bin,/usr/lib -D make install

and now the deb package is ready - mydns_1.2.8-1_i386.deb

Tags

Build your own .deb packages