more toolchain + stage 1 updates
[hdw-linux/hdw-linux.git] / packages / base / flex / flex
index b563c3b..907012a 100644 (file)
@@ -2,16 +2,14 @@
 #
 # author: hackbard@hackdaworld.dyndns.org
 #
-# [V] 2.5.31
-# [S] 1-8 2-9
-# [D] flex-2.5.31.tar.bz2 http://belnet.dl.sourceforge.net/sourceforge/lex/
+# [V] 2.5.33
+# [S] 1-3 2-9
+# [D] flex-2.5.33.tar.bz2 http://surfnet.dl.sourceforge.net/sourceforge/flex/
 
-pre_install()  {
-       touch doc/flex.1
-               }
-
-if [ "$hdw_status" = "2" ] ; then
+if [ "$stage" = "2" ] ; then
        post_install()  {
                ln -sfv libfl.a $prefix/lib/libl.a
                        }
+       [ ! -f $prefix/bin/lex ] && cp $confdir/lex_wrapper $prefix/bin/lex
+       chmod 755 $prefix/bin/lex
 fi