CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sed: updated mandir
[crossrootfs.git] / flex / Pkgfile
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}
 }