1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
tuxcmd-modules for Debian
-------------------------
tuxcmd-modules ships source code which gets duplicated (libarchive,
bzip2 source code shipped upstream).
Note on zlib: The ZipArchive Library does not use the Zlib library that
is installed in the system. The Zlib library included in the ZipArchive
Library is slightly modified for its needs.
The Debian orig.tar.gz is thus repackaged and reduces significantly the
source package size.
To get the orig.tar.gz shipped with debian you need to do the following
steps:
1. Download upstream source (from project homepage):
tar xjvf tuxcmd-modules-$version.tar.bz2
2. Change directory into the unpacked sources:
cd tuxcmd-modules-$version
3. Remove libarchive-* source shipped upstream:
rm -rf libarchive/libarchive-*
4. Remove bzip2 copy shipped with ZipArchive and only use system bz2:
rm -r zip/ZipArchive/bzip2
5. Rename and repack the source:
cd ..
mv tuxcmd-modules-$version tuxcmd-modules-$version+ds
tar cvf tuxcmd-modules_$version+ds.orig.tar \
tuxcmd-modules-$version+ds
gzip --best tuxcmd-modules_$version+ds.orig.tar
|