33 lines
850 B
Bash
33 lines
850 B
Bash
# Template file for 'flex'
|
|
pkgname=flex
|
|
version=2.6.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
# YES REALLY! WE DONT WANT BINS LINKED TO LIBFL!
|
|
configure_args="--disable-shared"
|
|
hostmakedepends="help2man bison"
|
|
makedepends="bison"
|
|
depends="bison libfl-devel-${version}_${revision}"
|
|
short_desc="The Fast Lexical Analyzer"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://flex.sourceforge.net"
|
|
license="BSD"
|
|
distfiles="${SOURCEFORGE_SITE}/flex/${pkgname}-${version}.tar.bz2"
|
|
checksum=24e611ef5a4703a191012f80c1027dc9d12555183ce0ecd46f3636e587e9b8e9
|
|
|
|
pre_install() {
|
|
sed -i "s|.SUFFIXES: .dvi .html .info .pdf .ps .texi|.SUFFIXES: .info .texi|g" doc/Makefile
|
|
}
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libfl-devel_package() {
|
|
replaces="libfl>=0"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|