CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Deleted some ports which are not required for a first rootfs-devel from crosscompilation
[crossrootfs.git] / module-init-tools / Pkgfile
index ae3d36f588e7aca6d42388264c3254b484cf3b06..743f16a377046cbf0a17026e7090c2d89524d140 100644 (file)
@@ -1,26 +1,25 @@
 # Description: Kernel module utilities
 # URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX ARM System Team
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on:
 
 name=module-init-tools
-version=3.6
+version=3.12
 release=1
-source=(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/$name-$version.tar.bz2
-        http://crux.nu/~jue/files/dist/$name-man-$version.tar.bz2
+source=(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/$name-$version.tar.bz2 \
         modprobe.conf)
 
 build() {
   cd $name-$version
-  cp $SRC/$name-man-$version/* .
+  touch *.5 *.8
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
               --bindir=/sbin \
               --sbindir=/sbin
+
   make
   make DESTDIR=$PKG mandir=/usr/man install
-  install -D -m 644 $SRC/modprobe.conf $PKG/etc/modprobe.conf
-  rm -f $PKG/sbin/generate-modprobe.conf
+  install -d $PKG/etc/{modprobe.d,depmod.d}
 }