X-Git-Url: http://gitweb/?a=blobdiff_plain;f=kmod%2FPkgfile;h=112538142b21d0b921dcc5569973734dbf091721;hb=2c26c989882b1f0d4d843939b4152856c9859013;hp=d1634608254f6abf758137c8cbe1c6cf34329c2e;hpb=4c940097391a55aa73cb15884d0c944d5f5dadd6;p=crossrootfs.git diff --git a/kmod/Pkgfile b/kmod/Pkgfile index d163460..1125381 100644 --- a/kmod/Pkgfile +++ b/kmod/Pkgfile @@ -4,9 +4,9 @@ # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu name=kmod -version=10 +version=25 release=1 -source=(http://www.kernel.org/pub/linux/utils/kernel/$name/$name-$version.tar.xz) +source=(https://www.kernel.org/pub/linux/utils/kernel/$name/$name-$version.tar.xz) build() { cd $name-$version @@ -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/share/man/{man5,man8} + + install -m 0644 man/*.5 $PKG/usr/share/man/man5 + install -m 0644 man/*.8 $PKG/usr/share/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/bash-completion }