CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
COPYRIGHT: updated
[crossrootfs.git] / sysvinit / Pkgfile
index 4f6cca54fc73d3a7f06471dfb8528767bcdc9acf..ca39f04c59e5db3c5d123b41ec34624065b30f80 100644 (file)
@@ -6,16 +6,24 @@
 
 name=sysvinit
 version=2.88
-release=1
+release=4
 source=(http://download.savannah.gnu.org/releases/$name/$name-${version}dsf.tar.bz2)
 
 build() {
   cd $name-${version}dsf
   make -C src CC="$CC"
-  make -C src ROOT=$PKG MANDIR=/usr/man install
-  # Provided by util-linux
+  make -C src ROOT=$PKG install
+  
+  # Provided by util-linux 
   rm $PKG/{bin/mountpoint,usr/bin/utmpdump}
-  rm $PKG/usr/man/man1/{mountpoint,utmpdump}.1
+  rm $PKG/usr/share/man/man1/{mountpoint,utmpdump}.1
+  rm $PKG/usr/bin/{last,lastb,mesg,wall}
+  rm $PKG/usr/share/man/man1/{last,lastb,mesg,wall}.1
+  rmdir $PKG/usr/bin
+
+  # Provided by procps
+  rm $PKG/bin/pidof
+  rm $PKG/usr/share/man/man8/pidof.8
 
   install -d $PKG/var/log
   touch $PKG/var/log/wtmp