flex: disable shared library: do not want any bin linked to libfl!
This commit is contained in:
parent
04b03e3e22
commit
39cdcce2db
2 changed files with 5 additions and 11 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
flex
|
Loading…
Reference in a new issue