void-packages/srcpkgs/reflex/template

28 lines
741 B
Bash

# Template file for 'reflex'
pkgname=reflex
version=20230523
revision=1
_date=${version##*.}
build_style=gnu-configure
hostmakedepends="byacc"
depends="byacc librefl-devel-${version}_${revision}"
short_desc="Relocalizable fast lexical scanner"
maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
license="BSD-3-Clause"
homepage="https://invisible-island.net/reflex/"
changelog="https://invisible-island.net/reflex/NEWS"
distfiles="https://invisible-mirror.net/archives/${pkgname}/${pkgname}-${_date}.tgz"
checksum=312a21529ec28aa1e24583db4d21ac8ad452574e817cc7df3ed3fb22f0f08224
post_install() {
vlicense COPYING
}
librefl-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}