]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blobdiff - packages/base/flex/flex
toolchain modoifications
[hdw-linux/hdw-linux.git] / packages / base / flex / flex
index b563c3b15e0cae38e07704498ab42c66dd0712f0..a58fe842b7597d58a3d609d7791783da86491be5 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