diff options
author | piernov <piernov@piernov.org> | 2012-02-19 19:18:42 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-02-19 19:18:42 +0100 |
commit | 20d31ec19fb54f6e876510889ada3a65b9446dc7 (patch) | |
tree | 49563d348101a3ef48cabbb4f6ee5d5cb7ae1b26 /kmod/Pkgfile | |
parent | 2ec2bb8bd33ed46798ccf4c521186038686750a7 (diff) | |
parent | 0a9061b9108b7aebdb56a2d949fff90e15f43110 (diff) | |
download | nutyx-pakxe-20d31ec19fb54f6e876510889ada3a65b9446dc7.tar.gz nutyx-pakxe-20d31ec19fb54f6e876510889ada3a65b9446dc7.tar.bz2 nutyx-pakxe-20d31ec19fb54f6e876510889ada3a65b9446dc7.tar.xz nutyx-pakxe-20d31ec19fb54f6e876510889ada3a65b9446dc7.zip |
Merge git://piernov.org/nutyx-pakxe
Diffstat (limited to 'kmod/Pkgfile')
-rwxr-xr-x | kmod/Pkgfile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/kmod/Pkgfile b/kmod/Pkgfile new file mode 100755 index 000000000..cd788bed8 --- /dev/null +++ b/kmod/Pkgfile @@ -0,0 +1,39 @@ +# Description: Gestion des module du kernel Linux +# URL: http://git.profusion.mobi/cgit.cgi/kmod.git +# Maintainer: Lucas De Marchi +# Packager: piernov <piernov@piernov.org> + +name=kmod +version=4 +release=1 +source=(http://packages.profusion.mobi/$name/$name-$version.tar.xz + depmod-search.conf + nouveau.conf + blacklist-fb.conf + usb.conf) + +build() { + cd $name-$version + ./configure --sysconfdir=/etc \ + --with-rootprefix= \ + --with-zlib \ + --with-xz + make + make check + make DESTDIR=$PKG install + + install -dm755 $PKG/{,s}bin + install -dm755 $PKG/{etc,lib}/{depmod,modprobe}.d + + ln -s /usr/bin/kmod $PKG/bin/lsmod + for tool in {ins,rm,dep}mod mod{info,probe}; do + ln -s ../usr/bin/kmod $PKG/sbin/$tool + done + + install -Dm644 ../depmod-search.conf $PKG/lib/depmod.d/search.conf + + for i in blacklist-fb.conf usb.conf nouveau.conf + do + install -m 644 ../$i $PKG/etc/modprobe.d/$i + done +} |