a58fe842b7597d58a3d609d7791783da86491be5
[hdw-linux/hdw-linux.git] / packages / base / flex / flex
1 # hdw - linux flex package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] 2.5.31
6 # [S] 1-8 2-9
7 # [D] flex-2.5.31.tar.bz2 http://surfnet.dl.sourceforge.net/sourceforge/lex/
8
9 pre_install()   {
10         touch doc/flex.1
11                 }
12
13 if [ "$hdw_status" = "2" ] ; then
14         post_install()  {
15                 ln -sfv libfl.a $prefix/lib/libl.a
16                         }
17         [ ! -f $prefix/bin/lex ] && cp $confdir/lex_wrapper $prefix/bin/lex
18         chmod 755 $prefix/bin/lex
19 fi