New package: afflib-3.7.21

This commit is contained in:
cbaulesch 2025-05-26 18:33:00 +02:00 committed by Duncan Overbruck
parent 2a30fee861
commit 251983662d
2 changed files with 38 additions and 0 deletions

1
srcpkgs/afflib-devel Symbolic link
View file

@ -0,0 +1 @@
afflib

37
srcpkgs/afflib/template Normal file
View file

@ -0,0 +1,37 @@
# Template file for 'afflib'
pkgname=afflib
version=3.7.21
revision=1
build_style=gnu-configure
configure_args="--enable-threading"
hostmakedepends="which autoconf automake libtool"
makedepends="zlib-devel fuse-devel openssl ncurses-devel readline-devel libcurl-devel expat-devel "
short_desc="Advanced Forensics Format Library"
maintainer="cbaulesch <christophe@baulesch.com>"
license="BSD-4-Clause OR Public Domain"
homepage="https://github.com/sshock/AFFLIBv3/tree/master"
changelog="https://github.com/sshock/AFFLIBv3/releases"
distfiles="https://github.com/sshock/AFFLIBv3/archive/refs/tags/v${version}.tar.gz"
checksum=047fce790d69c234dde1d23ad9e1f0cf868ac51b2ad9a76560d01e80f2f1c452
pre_configure() {
./bootstrap.sh
}
post_install() {
vlicense COPYING LICENSE
vdoc doc/FAQ.txt
vdoc doc/affdoc.doc
vdoc doc/crypto_doc.txt
}
afflib-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}