summaryrefslogtreecommitdiffstats
path: root/module-init-tools/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:12:28 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:12:28 +0100
commit9291e062cb24bac5d7c7059d4dc64669c1917b33 (patch)
treeae6f7e4fb2769d6c53b214c5e0b4d862f1df98dc /module-init-tools/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.gz
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.bz2
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.xz
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.zip
aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé
Diffstat (limited to 'module-init-tools/Pkgfile')
-rwxr-xr-xmodule-init-tools/Pkgfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/module-init-tools/Pkgfile b/module-init-tools/Pkgfile
new file mode 100755
index 000000000..298daa085
--- /dev/null
+++ b/module-init-tools/Pkgfile
@@ -0,0 +1,31 @@
+# Description: Modules utilitaires pour le noyau
+# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=module-init-tools
+version=3.13
+release=1
+source=(http://www.kernel.org/pub/linux/utils/kernel/$name/$name-$version.tar.bz2\
+ nouveau.conf modprobe.conf blacklist-fb.conf usb.conf)
+
+build() {
+cd $name-$version
+echo '.so man5/modprobe.conf.5' > modprobe.d.5
+./configure
+make check
+make clean
+
+./configure --prefix=/ --enable-zlib-dynamic \
+ --mandir=/usr/share/man
+
+make
+install -d $PKG/usr/share/man
+install -d $PKG/etc/{modprobe.d,depmod.d}
+make DESTDIR=$PKG mandir=/usr/share/man install
+rm -f $PKG/sbin/generate-modprobe.conf
+for i in modprobe.conf blacklist-fb.conf usb.conf nouveau.conf
+do
+ install -m 644 ../$i $PKG/etc/modprobe.d/$i
+done
+}