void-packages/srcpkgs/reflex/template

28 lines
741 B
Bash

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