24 lines
925 B
Bash
24 lines
925 B
Bash
# Template file for 'ntdsextract2'
|
|
pkgname=ntdsextract2
|
|
version=1.4.4
|
|
revision=1
|
|
_esedbver=0.2.5
|
|
build_wrksrc="${pkgname}-${version}"
|
|
build_style=cargo
|
|
short_desc="Display contents of Active Directory database files"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/janstarke/ntdsextract2"
|
|
distfiles="https://github.com/janstarke/ntdsextract2/archive/refs/tags/v${version}.tar.gz
|
|
https://github.com/sunsetkookaburra/rust-libesedb/archive/refs/tags/libesedb-v${_esedbver}.tar.gz"
|
|
checksum="ee449a74b6c671dde43d0d4b75fbe6846b4a2ed26fb70bde337957ad82176241
|
|
30fce9b9766903280d3f6273e2f991b2296ccd3eed878262d1a68c7ceb76b658"
|
|
make_check=no # testing requires a large sample test file that isn't distributed
|
|
|
|
pre_configure() {
|
|
if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
|
|
vsed -e "s/4096 \* 1024 \* 1024/usize::max_value()/" -i src/main.rs
|
|
fi
|
|
cargo generate-lockfile
|
|
}
|