lrwxrwxrwx root/root usr/lib/libfl_pic.so -> libfl_pic.so.2.0.0
lrwxrwxrwx root/root usr/lib/libfl_pic.so.2 -> libfl_pic.so.2.0.0
-rwxr-xr-x root/root usr/lib/libfl_pic.so.2.0.0
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/flex.1.gz
-lrwxrwxrwx root/root usr/man/man1/lex.1.gz -> flex.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/flex.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/lex.1.gz -> flex.1.gz
name=flex
version=2.5.39
-release=1
+release=2
source=(http://downloads.sourceforge.net/project/$name/$name-$version.tar.bz2)
build() {
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
--disable-nls \
--cache-file=config.cache
make DESTDIR=$PKG install
ln -sf flex $PKG/usr/bin/lex
- ln -sf flex.1.gz $PKG/usr/man/man1/lex.1.gz
+ ln -sf flex.1.gz $PKG/usr/share/man/man1/lex.1.gz
- rm -rf $PKG/usr/share
+ rm -r $PKG/usr/share/{info,doc}
}