25 lines
718 B
Bash
25 lines
718 B
Bash
# Template file for 'spicy'
|
|
pkgname=spicy
|
|
version=1.11.0
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper=qemu
|
|
hostmakedepends="flex python3"
|
|
makedepends="libfl-devel zlib-devel"
|
|
short_desc="Generate Robust Parsers for Protocols & File Formats"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://docs.zeek.org/projects/spicy/en/latest/"
|
|
distfiles="https://github.com/zeek/spicy/releases/download/v${version}/spicy.tar.gz"
|
|
checksum=bfddb2295718d7d3f1aaa0a82043271e3a6d97026ea2098da0b218976cf4af1d
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
export CROSSCOMPILE_EMULATOR="/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static"
|
|
else
|
|
export CROSSCOMPILE_EMULATOR=
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|