12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- set -e
- program=tarlz
- version=0.22
- release=2
- pkgcategory=tools
- tarname=${program}-${version}.tar.lz
- fetch=https://download-mirror.savannah.gnu.org/releases/lzip/tarlz/$tarname
- homepage=https://lzip.nongnu.org/tarlz.html
- license=GPLv2+
- description="
- Archiver with multimember lzip compression (version $version).
- Tarlz is a combined implementation of the tar archiver and the lzip
- compressor. By default tarlz creates, lists and extracts archives in a
- simplified posix pax format compressed with lzip on a per file basis.
- Each tar member is compressed in its own lzip member, as well as the
- end-of-file blocks. This method adds an indexed lzip layer on top of
- the tar archive, making it possible to decode the archive safely in
- parallel. The resulting multimember tar.lz archive is fully backward
- compatible with standard tar tools like GNU tar, which treat it like
- any other tar.lz archive. Tarlz can append files to the end of such
- compressed archives.
- "
- full_pkgname="${program}@${pkgcategory}"
- docs="AUTHORS COPYING ChangeLog NEWS README"
- docsdir="${docdir}/${program}"
- build()
- {
- unpack "${tardir}/$tarname"
- cd "$srcdir"
-
- chmod -R u+w,go-w,a+rX-s .
- ./configure CPPFLAGS="$QICPPFLAGS" \
- CXXFLAGS+="$QICXXFLAGS" LDFLAGS="$QILDFLAGS -static" \
- $configure_args \
- --infodir=$infodir \
- --mandir=$mandir \
- --build="$(gcc -dumpmachine)"
- make -j${jobs} V=1
- make -j${jobs} DESTDIR="$destdir" install
-
- rm -f "${destdir}/${infodir}/dir";
- lzip -9 \
- "${destdir}/${infodir}/tarlz.info" \
- "${destdir}/${mandir}/man1/tarlz.1"
-
- mkdir -p "${destdir}/$docsdir"
- cp -p $docs "${destdir}/$docsdir"
- }
|