CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
tzdata: updated to 2012j
[crossrootfs.git] / kmod / Pkgfile
index d1634608254f6abf758137c8cbe1c6cf34329c2e..ce0ab32fca5c92d18e69fe25c4e4114152997b46 100644 (file)
@@ -4,7 +4,7 @@
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu 
 
 name=kmod
-version=10
+version=12
 release=1
 source=(http://www.kernel.org/pub/linux/utils/kernel/$name/$name-$version.tar.xz)
 
@@ -15,8 +15,7 @@ build() {
               --host=$CTARGET \
               --bindir=/sbin \
               --sysconfdir=/etc \
-              --mandir=/usr/man \
-              --with-rootprefix= \
+              --disable-manpages \
               --with-rootlibdir=/lib
 
   make
@@ -24,6 +23,10 @@ build() {
 
   install -d $PKG/etc/{modprobe,depmod}.d
   install -d $PKG/bin
+  install -d $PKG/usr/man/{man5,man8}
+
+  install -m 0644 man/*.5 $PKG/usr/man/man5
+  install -m 0644 man/*.8 $PKG/usr/man/man8
 
   ln -s kmod $PKG/sbin/modinfo
   ln -s kmod $PKG/sbin/depmod