Skip to content


How to build .deb packages for mythtv

aptitude install autotools-dev fakeroot dh-make build-essential

Instead of running make and make install, just to a checkinstall, you can run a checkinstall –install=no if you do not want to install the package after it is made.  So in my case I have a script that makes the packages and I checkout the source and put it in a dir that is the svn version

cd ./$1/mythtv
./configure –prefix=/usr –enable-dvb –dvb-path=/usr/include –enable-xvmc –enable-opengl-vsync –enable-proc-opt –enable-libdts –enable-firewire –enable-xvmc-opengl
qmake mythtv.pro
make -j 2
checkinstall –install=no –pkgversion=0.22 –pkgrelease=$1 –pakdir ../..
cd ../..
pwd
cd ./$1/mythplugins
./configure –prefix=/usr –enable-aac –disable-mytharchive –disable-mythbrowser –disable-mythcontrols –disable-mythgame –disable-mythzoneminder
make -j 2
checkinstall –install=no –pkgversion=0.22 –pkgrelease=$1 –pakdir ../..
cd ../..
pwd
cd ./$1/myththemes
./configure –prefix=/usr
checkinstall –install=no –pkgversion=0.22 –pkgrelease=$1 –pakdir ../..
cd ../..
pwd
cd ./$1/themes
./configure –prefix=/usr
checkinstall –install=no –pkgversion=0.22 –pkgrelease=$1 –pakdir ../..

Posted in Linux, Mythtv.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

You must be logged in to post a comment.