From ea508a6a91096ba1b71a0861451d659b15dbb07a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 13 Feb 2014 09:13:44 +0100 Subject: [PATCH] flex: update to 2.5.38. --- srcpkgs/flex/template | 19 ++++++++++++++----- srcpkgs/libfl | 1 + 2 files changed, 15 insertions(+), 5 deletions(-) create mode 120000 srcpkgs/libfl diff --git a/srcpkgs/flex/template b/srcpkgs/flex/template index 59e1ef403c..df792bacdb 100644 --- a/srcpkgs/flex/template +++ b/srcpkgs/flex/template @@ -1,16 +1,16 @@ # Template file for 'flex' pkgname=flex -version=2.5.37 -revision=2 +version=2.5.38 +revision=1 build_style=gnu-configure hostmakedepends="help2man bison" -depends="bison libfl-devel>=${version}" +depends="bison libfl-devel-${version}_${revision}" short_desc="The Fast Lexical Analyzer" maintainer="Juan RP " homepage="http://flex.sourceforge.net" license="BSD" distfiles="${SOURCEFORGE_SITE}/flex/${pkgname}-${version}.tar.bz2" -checksum=17aa7b4ebf19a13bc2dff4115b416365c95f090061539a932a68092349ac052a +checksum=d42a67ce11b649ce977c8e239d04b2ef1bdbffebb8a79f4f65211ad295f274ec pre_install() { sed -i "s|.SUFFIXES: .dvi .html .info .pdf .ps .texi|.SUFFIXES: .info .texi|g" doc/Makefile @@ -20,10 +20,19 @@ post_install() { vinstall COPYING 644 usr/share/licenses/flex } +libfl_package() { + short_desc+=" - runtime library" + pkg_install() { + vmove "usr/lib/*.so.*" + } +} + libfl-devel_package() { - short_desc+=" -- static library and headers" + depends="libfl>=${version}_${revision}" + 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 new file mode 120000 index 0000000000..3110bed486 --- /dev/null +++ b/srcpkgs/libfl @@ -0,0 +1 @@ +flex \ No newline at end of file