void-packages/srcpkgs/reflex/template

28 lines
741 B
Bash

# Template file for 'reflex'
pkgname=reflex
version=20210808
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=6b30a09557776cbc7435d974e5cfc50cb6c63da804f3ae2b4065466da0581c21
post_install() {
vlicense COPYING
}
librefl-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}