CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pciutls: updated to 3.5.2
[crossrootfs.git] / man-db / Pkgfile
index 6fb2a84d97e8331ce4937ec51c488e1bda177b98..2f32b255a3faac9c53545ba7f2feb45b1b65a055 100644 (file)
@@ -5,7 +5,7 @@
 # Depends on: libpipeline
 
 name=man-db
-version=2.6.7
+version=2.7.6
 release=1
 source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz \
         mandb.cron)
@@ -13,27 +13,21 @@ source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz \
 build() {
   cd $name-$version
 
-  export libpipeline_CFLAGS="$CFLAGSi -I$CLFS/usr/include"
-  export libpipeline_LIBS="$LIBS -L$CLFS/urs/lib -lpipeline"
+  export libpipeline_CFLAGS="$CFLAGS -I$CLFS/usr/include"
+  export libpipeline_LIBS="$LIBS -L$CLFS/usr/lib -lpipeline"
 
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --mandir=/usr/man \
               --libexecdir=/usr/lib/$name \
               --disable-setuid \
               --disable-nls
 
   make
   make DESTDIR=$PKG install
-  rm -r $PKG/usr/share
 
-  # zsoelim conflicts with groff
-  rm $PKG/usr/bin/zsoelim \
-    $PKG/usr/man/man1/zsoelim.1
+  rm -r $PKG/usr/lib/tmpfiles.d
 
-  mkdir -p $PKG/var/cache/man
-
-  install -D -o root -g root -m 0755 $SRC/mandb.cron \
-    $PKG/etc/cron/daily/mandb
+  install -d $PKG/var/cache/man
+  install -D -o root -g root -m 0755 $SRC/mandb.cron $PKG/etc/cron/daily/mandb
 }