|
BuildStart
CamelBox Home Page :: Build Start :: Build Setup :: Building Perl :: Building Core GTK Libs :: Building Extra GTK Libs :: Building External Gtk2-Perl Apps :: Gtk2-Perl Links Page :: Camelbox Credits Prerequisites
Build OrderSee also the BuildSetup page, which describes how to unpack the binary zipfiles in order to repackage them for distribution using the Camelbox installer. After performing each of these steps in order, run the following:
Misc. CommandsNote: the filelist should not contain any bare directories, unless you want the contents of those directories archived as well; tar apparently is greedy. Also, tar does not like lines that end with CR/NL (MS-DOS), it just likes NIX-style line endings (LF only). The GNU tar on Windows expects forward slashes in it's filelists: tar -cvf - -Tperl-5.10.0.txt > test.list.tar perl-5.10.0.txt looks like this: bin/a2p.exe bin/c2ph.bat bin/config_data.bat bin/corelist.bat bin/cpan.bat findGenerate filelists with: xfind /camelbox | sed -e '{/^\/camelbox$/d; s/\/camelbox[\\]*//;}'Windows MS-DOS Box version: xfind /camelbox | sed -e "{/^\/camelbox$/d; s/\/camelbox[\\]*//;}"Generate lists of the packages_dir with: xfind . | sed '{/^\.$/d; s/^\.\\//; s/\\/\//g;}' > /temp/_package_dirs.txtLZMACreate a LZMA compressed tarball: lzma e /path/to/input/tarball.tar /path/to/output/file.tar.lzma Create an LZMA compressed tarball using a list of files cd C:\camelbox tar -cvf - -Tfilelist.txt | lzma e -si /path/to/output/file.tar.lzma Create an LZMA compressed tarball using a list of files, with comments filtered out cd C:\camelbox grep -v "#" /path/to/package_list.txt | tar -cv -T - \ | lzma e -si /path/to/output/file.tar.lzma Unpack a LZMA compressed tarball lzma d -so demo.tar.lzma | tar -xvf - Next: Setting up files to be placed into archives
|