Package-Name: module-init-tools
Gentoo-Package: sys-apps/module-init-tools
Conflicts: modutils
Source: http://www.kernel.org/pub/linux/kernel/people/rusty/modules//(module-init-tools-(\d+(?:\.\d+)+)(?:-(pre\d+))?\.tar\.gz)/[\0-\377]*module-init-tools-(\d+(?:.\d+)+)(?:-(pre\d+))?.tar.gz e:$1.$2
Zap-Before-Install: 1
Repack:
	tar xzvfp "$(SOURCE)"
	test -d module-init-tools-"$(VERSION)" || mv -i module-init-tools* module-init-tools-"$(VERSION)"
Compile:
	cp -pf AUTHORS COPYING Change* FAQ NEWS README TODO "$(PREFIX)/"
	$(MAKE) -f ../Makefile configure
# Make sure the man pages are newer than the SGML sources, in case we can't
# parse the SGML
	touch -t197001020000 doc/*.sgml
	$(MAKE)
	$(MAKE) install
Install:
	mv -f "$(PREFIX)"/sbin/{depmod,insmod,insmod.static,modinfo,modprobe,rmmod} "$(PREFIX)"/bin/lsmod /sbin/
	$(MAKE) instman SECTION=5 MAN="modprobe.conf modules.dep"
	$(MAKE) instman SECTION=8 MAN="depmod insmod lsmod modinfo modprobe rmmod"

/pkg/module-init-tools/
/sbin/depmod
/sbin/insmod
/sbin/insmod.static
/sbin/lsmod
/sbin/modinfo
/sbin/modprobe
/sbin/rmmod
/usr/man/man5/modprobe.conf.5.gz
/usr/man/man5/modules.dep.5.gz
/usr/man/man8/depmod.8.gz
/usr/man/man8/insmod.8.gz
/usr/man/man8/lsmod.8.gz
/usr/man/man8/modinfo.8.gz
/usr/man/man8/modprobe.8.gz
/usr/man/man8/rmmod.8.gz
