void-packages/srcpkgs/flex/template
Juan RP d31bd0257c flex: add patch from upstream to unbreak wine (among others).
Also get rid of help2man... use the .1 directly.
2017-02-08 16:00:26 +01:00

28 lines
745 B
Bash

# Template file for 'flex'
pkgname=flex
version=2.6.3
revision=2
build_style=gnu-configure
configure_args="--disable-bootstrap --disable-shared"
hostmakedepends="bison"
makedepends="bison"
depends="bison libfl-devel-${version}_${revision} m4"
short_desc="The Fast Lexical Analyzer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://flex.sourceforge.net"
license="BSD"
distfiles="https://github.com/westes/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=68b2742233e747c462f781462a2a1e299dc6207401dac8f0bbb316f48565c2aa
post_install() {
vlicense COPYING
}
libfl-devel_package() {
replaces="libfl>=0"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}