Hi! Francesco Fumanti wrote: > Hello, > > > Here are the commands that I use to manually install dvbcut on my Ubuntu > installation: > > checkout: > svn co https://dvbcut.svn.sourceforge.net/svnroot/dvbcut/trunk dvbcut > > Compile and install: > autoconf > ./configure --with-qt3-include=/usr/include/qt3/ --prefix=/usr > make > sudo make install
Yep, that's exactly how it's done (+/- config options). > Could anybody please tell me how I can create a tarball from the svn > directory produced by the checkout? To build a source tarball, just configure as usual and then type "make dist". You can check if the tarball works correctly by running "make check-dist" afterwards. Building a binary tarball isn't supported by the build system, but it's not much harder either. Install the program in a temporary directory, and then tar it up: autoconf ./configure <options-as-you-need-them> make mkdir /tmp/dvbcut-install sudo make install DESTDIR=/tmp/dvbcut-install tar cvfz dvbcut.tar.gz -C /tmp/dvbcut-install . Note the dot at the end of the last command! The trick is to specify a pseudo-root for the installation, using the DESTDIR variable. Becoming root for installing isn't actually required, but it makes sure that the installed files are owned by root (and are tar'd up that way). Alternatively, you can omit sudo and add the options --numeric-owner --owner=0 --group=0 to the tar command line, as I do it in the `make dist' target (see makefile.in). Of course, all this only works with GNU tar. -- Michael "Tired" Riepe <mich...@mr511.de> X-Tired: Each morning I get up I die a little ------------------------------------------------------------------------------ _______________________________________________ DVBCUT-user mailing list DVBCUT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dvbcut-user