2010-02-19 16:59:43 +00:00
|
|
|
# Template file for 'bsdtar'.
|
|
|
|
#
|
|
|
|
short_desc="BSD tar(1) using libarchive"
|
|
|
|
long_desc="
|
|
|
|
The bsdtar program has a number of advantages over previous tar
|
|
|
|
implementations:
|
|
|
|
|
|
|
|
* Library. Since the core functionality is in a library, it can be
|
|
|
|
used by other tools, such as pkg_add.
|
|
|
|
|
|
|
|
* Automatic format detection. Libarchive automatically detects the
|
|
|
|
compression (none/gzip/bzip2) and format (old tar, ustar, gnutar,
|
|
|
|
pax, cpio, iso9660, zip) when reading archives. It does this for
|
|
|
|
any data source.
|
|
|
|
|
|
|
|
* Pax Interchange Format Support. This is a POSIX/SUSv3 extension to
|
|
|
|
the old \"ustar\" tar format that adds arbitrary extended attributes
|
|
|
|
to each entry. Does everything that GNU tar format does, only
|
|
|
|
better.
|
|
|
|
|
|
|
|
* Handles file flags, ACLs, arbitrary pathnames, etc. Pax interchange
|
|
|
|
format supports key/value attributes using an easily-extensible
|
|
|
|
technique. Arbitrary pathnames, group names, user names, file sizes
|
|
|
|
are part of the POSIX standard; libarchive extends this with
|
|
|
|
support for file flags, ACLs, and arbitrary device numbers.
|
|
|
|
|
|
|
|
* GNU tar support. Libarchive reads most GNU tar archives. If there
|
|
|
|
is demand, this can be improved further."
|
|
|
|
|
2011-06-19 13:32:46 +00:00
|
|
|
revision=4
|
2010-10-26 01:09:43 +00:00
|
|
|
|
2010-02-19 16:59:43 +00:00
|
|
|
Add_dependency run glibc
|
2010-12-17 19:59:40 +00:00
|
|
|
Add_dependency run zlib
|
2011-06-19 13:32:46 +00:00
|
|
|
Add_dependency run bzip2
|
2010-02-19 16:59:43 +00:00
|
|
|
Add_dependency run acl
|
|
|
|
Add_dependency run attr
|
2010-11-02 07:31:35 +00:00
|
|
|
Add_dependency run libssl
|
2010-02-19 16:59:43 +00:00
|
|
|
Add_dependency run expat
|
2010-10-26 01:09:43 +00:00
|
|
|
Add_dependency run liblzma
|
2010-02-19 16:59:43 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
install -d ${DESTDIR}/usr/bin
|
|
|
|
install -d ${DESTDIR}/usr/share/man/man1
|
|
|
|
install -d ${DESTDIR}/usr/share/man/man5
|
|
|
|
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin/bsdtar ${DESTDIR}/usr/bin
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man1/bsdtar.1 \
|
|
|
|
${DESTDIR}/usr/share/man/man1
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man5/tar.5 \
|
|
|
|
${DESTDIR}/usr/share/man/man5
|
|
|
|
}
|