CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
flex: updated mandir
authorVictor Martinez <pitillo@ono.com>
Thu, 12 Nov 2015 13:27:41 +0000 (13:27 +0000)
committerVictor Martinez <pitillo@ono.com>
Thu, 12 Nov 2015 13:27:41 +0000 (13:27 +0000)
flex/.footprint
flex/Pkgfile

index f340d896875afcbffd76101fd970f89151e099ee..f7aa39f6dd08fd8a1b06001ec20eebf9894e5cfd 100644 (file)
@@ -16,7 +16,8 @@ lrwxrwxrwx    root/root       usr/lib/libfl.so.2 -> libfl.so.2.0.0
 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
index 17c1abcf22a56bebdb864daaef4942a157842b84..e7534fb3afaa7b5f73566627cbcc62daa0af7cc8 100644 (file)
@@ -6,7 +6,7 @@
 
 name=flex
 version=2.5.39
-release=1
+release=2
 source=(http://downloads.sourceforge.net/project/$name/$name-$version.tar.bz2)
 
 build() {
@@ -18,7 +18,6 @@ build() {
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --mandir=/usr/man \
               --disable-nls \
               --cache-file=config.cache
 
@@ -26,7 +25,7 @@ build() {
   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}
 }