flex: disable shared library: do not want any bin linked to libfl!

This commit is contained in:
Juan RP 2014-02-15 10:33:21 +01:00
parent 04b03e3e22
commit 39cdcce2db
2 changed files with 5 additions and 11 deletions

View File

@ -1,10 +1,13 @@
# Template file for 'flex'
pkgname=flex
version=2.5.38
revision=1
revision=2
build_style=gnu-configure
# YES REALLY! WE DONT WANT BINS LINKED TO LIBFL!
configure_args="--disable-shared"
hostmakedepends="help2man bison"
depends="bison libfl-devel-${version}_${revision}"
replaces="libfl>=0"
short_desc="The Fast Lexical Analyzer"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://flex.sourceforge.net"
@ -20,19 +23,11 @@ post_install() {
vinstall COPYING 644 usr/share/licenses/flex
}
libfl_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libfl-devel_package() {
depends="libfl>=${version}_${revision}"
replaces="libfl>=0"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}

View File

@ -1 +0,0 @@
flex