mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
55 lines
1.8 KiB
Tcl
55 lines
1.8 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup clang_dependency 1.0
|
|
PortGroup github 1.0
|
|
PortGroup muniversal 1.0
|
|
|
|
github.setup libarchive libarchive 3.8.8 v
|
|
|
|
checksums rmd160 1fb9356471e32087ff7c42bec863debd4be59159 \
|
|
sha256 3873a88801da067d0528a989af06877710529d50ee8fe6f3970cbb4302efb918 \
|
|
size 6559080
|
|
|
|
github.tarball_from releases
|
|
|
|
categories archivers
|
|
license BSD
|
|
maintainers {toby @tobypeterson} openmaintainer
|
|
description functions for reading and writing streaming archives
|
|
long_description \
|
|
Libarchive is a programming library that can create and \
|
|
read several different streaming archive formats, including \
|
|
most popular tar variants, several cpio formats, 7zip and rar. It can \
|
|
also write shar archives.
|
|
|
|
use_xz yes
|
|
|
|
homepage https://libarchive.org/
|
|
|
|
depends_lib port:bzip2 port:zlib port:libxml2 port:xz \
|
|
port:lzo2 port:libiconv \
|
|
port:lz4 port:zstd \
|
|
port:libb2
|
|
|
|
patchfiles fix_pc_file.patch \
|
|
patch-libarchive-fix-tests.diff
|
|
|
|
depends_build port:pkgconfig
|
|
|
|
configure.args --enable-bsdtar=shared --enable-bsdcpio=shared \
|
|
--disable-silent-rules --without-nettle \
|
|
--without-openssl --with-lzo2 --with-zstd
|
|
|
|
configure.checks.implicit_function_declaration.whitelist-append strchr
|
|
|
|
post-destroot {
|
|
xinstall -d ${destroot}${prefix}/libexec/${subport}
|
|
foreach program [glob -tails -directory ${destroot}${prefix}/bin *] {
|
|
ln -s ${prefix}/bin/${program} ${destroot}${prefix}/libexec/${subport}
|
|
}
|
|
}
|
|
|
|
test.run yes
|
|
test.target check
|