Posted: Thu 10 May 2012, 04:59 Post_subject:
A .pet I made does not contain all the files in the folder
Hi there
I have attempted to compile xvid 1.32 and ended up with a directory of files.
From within that directory I used new2dir make install and ended up with a pet file, however this does not contain all the files in the original folder.
If anyone can give give me some tips/advice that would be great.
Joined: 20 Jun 2010 Posts: 2730 Location: Kiel,Germany
Posted: Fri 11 May 2012, 17:05 Post_subject:
new2dir uses installwatch script and installwatch.so to create a /tmp/pkginstall.lst file which contains a lot of unneeded entries .
My actual line looks like this :
$INSTALL_WATCH_EXE\
-o /tmp/pkginstall.list\
${MAKE}
I am having the problem that on one 511 and 430 installation new2dir make install would end up in a neverending loop without instlling anything.
So i made a workaround for this using find command :
/usr/bin/new2dir [-new2dir_option1 -option2 ..] make [make_options] install[-doc|-etc..]
Script to list installed files by 'make install' using
'installwatch/checkinstall pkg' and to copy these files into a
seperate directory to easily be packaged further .
Also strips binaries automatically and libraries to reduce size .
Script specific options :
-c) forcibly delete already existing destination directory(s);
default is to rename .
-d) debug by 'set -x' .
-f) answer all dialog questions automatically:yes,cpu-type,
split-level(-f default = 3); includes -k .
-h) show this usage .
-V) show version information .
-i) interactive modes for binaries used by this script .
-I/path/to/bin/installwatch) if installwatch script to use
to monitor make install is installed not first in the PATH .
-k) keep binaries and libraries unstripped .
-K) strip only installed bins and libs .
-l) run with logsave -a /tmp/new2dir.log .
-u) update already existing _DESTDIR s , do not delete _DESTIR s .
-M) Menu for selecting various used executables .
-m #) set the MMIN level for the find command in -r mode below;
default is -2 (means to look for modified files not
older than the last two minutes) .
-A #) switch to AMIN instead of MMIN for above
-C #) switch to CMIN instead of MMIN for above
-r) rescue mode if installwatch does not work . Does not strip .
-v) give verbose output by '2>&1' .
For make specific options, see 'man make|make --help' .
I have added the strip functions for the Rescue Mode (find) part just today and not tested .
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum