fixes + develpment updates
[hdw-linux/hdw-linux.git] / packages / base / flex / flex
index b563c3b..a58fe84 100644 (file)
@@ -4,7 +4,7 @@
 #
 # [V] 2.5.31
 # [S] 1-8 2-9
-# [D] flex-2.5.31.tar.bz2 http://belnet.dl.sourceforge.net/sourceforge/lex/
+# [D] flex-2.5.31.tar.bz2 http://surfnet.dl.sourceforge.net/sourceforge/lex/
 
 pre_install()  {
        touch doc/flex.1
@@ -14,4 +14,6 @@ if [ "$hdw_status" = "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