diff --git a/srcpkgs/flex/template b/srcpkgs/flex/template index df792bacdb0..a0fe30e4bc5 100644 --- a/srcpkgs/flex/template +++ b/srcpkgs/flex/template @@ -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 " 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" } } diff --git a/srcpkgs/libfl b/srcpkgs/libfl deleted file mode 120000 index 3110bed486e..00000000000 --- a/srcpkgs/libfl +++ /dev/null @@ -1 +0,0 @@ -flex \ No newline at end of file