X-Git-Url: http://gitweb/?a=blobdiff_plain;f=kmod%2FPkgfile;h=8c4f993dcd91dedbdd7d7f548e29a672bea473ee;hb=b4aac807c89c4c3f254c2320ab5a0e7a1fea2c44;hp=d1634608254f6abf758137c8cbe1c6cf34329c2e;hpb=4c940097391a55aa73cb15884d0c944d5f5dadd6;p=crossrootfs.git diff --git a/kmod/Pkgfile b/kmod/Pkgfile index d163460..8c4f993 100644 --- a/kmod/Pkgfile +++ b/kmod/Pkgfile @@ -4,7 +4,7 @@ # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu name=kmod -version=10 +version=18 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 @@ -32,4 +35,7 @@ build() { ln -s kmod $PKG/sbin/rmmod ln -s kmod $PKG/sbin/modprobe ln -s ../sbin/kmod $PKG/bin/lsmod + + # remove bash-completion stuff + rm -r $PKG/usr/share }