Files

78 lines
2.7 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 github 1.0
PortGroup openssl 1.0
github.setup libyal libewf 20230212
revision 0
categories security
maintainers nomaintainer
license LGPL-3+
description Libewf is a library for support of the Expert Witness Compression Format
long_description Libewf is a library for support of the Expert Witness \
Compression Format (EWF), it support both the SMART \
format (EWF-S01) and the EnCase format (EWF-E01). \
Libewf allows you to read and write media information \
within the EWF files.
github.tarball_from releases
distname ${name}-experimental-${version}
worksrcdir ${name}-${version}
checksums rmd160 2c23bdeb7f703c142d8b4412a952c08aace9500c \
sha256 d22eecbd962c3d7d646ccfba131fc3c07e6a07da37dc163b6ecbb1348db16101 \
size 2638562
depends_build path:bin/pkg-config:pkgconfig
openssl.branch 3
depends_lib port:bzip2 \
port:gettext \
port:libiconv \
port:zlib
platform linux {
configure.env-append \
"LIBS=-L${prefix}/lib -lintl"
}
configure.args --with-bzip2=${prefix} \
--with-openssl=[openssl::install_area] \
--with-zlib=${prefix} \
--without-libbfio \
--without-libcaes \
--without-libcdata \
--without-libcdatetime \
--without-libcerror \
--without-libcfile \
--without-libclocale \
--without-libcnotify \
--without-libcpath \
--without-libcsplit \
--without-libcthreads \
--without-libfcache \
--without-libfdata \
--without-libfuse \
--without-libfvalue \
--without-libhmac \
--without-libodraw \
--without-libsmdev \
--without-libsmraw \
--without-libuna \
--without-libuuid
if {${configure.build_arch} in [list arm64 x86_64]} {
depends_lib-append \
path:lib/pkgconfig/fuse.pc:macfuse
configure.args-replace \
--without-libfuse --with-libfuse=${prefix}
# osxfuse is not universal
universal_variant no
}