summaryrefslogtreecommitdiffstats
path: root/base/module-init-tools/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:09:02 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:09:02 +0200
commit4ac553ce55fbe78ea1497a5bad3833a03fea7f1c (patch)
treeea76ddbb7009c568f93877603cb887af34efe5f7 /base/module-init-tools/Pkgfile
parent631aa90fd7bf74cb448b5953da35a98fc272bad2 (diff)
downloadnutyx-pakxe-4ac553ce55fbe78ea1497a5bad3833a03fea7f1c.tar.gz
nutyx-pakxe-4ac553ce55fbe78ea1497a5bad3833a03fea7f1c.tar.bz2
nutyx-pakxe-4ac553ce55fbe78ea1497a5bad3833a03fea7f1c.tar.xz
nutyx-pakxe-4ac553ce55fbe78ea1497a5bad3833a03fea7f1c.zip
Ajout de module-init-tools#3.9-1
Diffstat (limited to 'base/module-init-tools/Pkgfile')
-rwxr-xr-xbase/module-init-tools/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/base/module-init-tools/Pkgfile b/base/module-init-tools/Pkgfile
new file mode 100755
index 000000000..d362d5932
--- /dev/null
+++ b/base/module-init-tools/Pkgfile
@@ -0,0 +1,28 @@
+# 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
+# Depends on: man-db
+
+name=module-init-tools
+version=3.9
+release=1
+source=(http://www.kernel.org/pub/linux/utils/kernel/modules/$name-$version.tar.bz2\
+ modprobe.conf)
+
+build() {
+cd $name-$version
+./configure
+make check
+make clean
+
+./configure --prefix=/ --enable-zlib \
+ --mandir=/usr/share/man
+
+make
+install -d $PKG/usr/share/man
+install -d $PKG/etc
+make DESTDIR=$PKG mandir=/usr/share/man install
+rm -f $PKG/sbin/generate-modprobe.conf
+install -m 644 ../modprobe.conf $PKG/etc
+}