19 lines
503 B
Python
19 lines
503 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Licensed under GNU General Public License, version 3.
|
|
# See the file https://www.gnu.org/licenses/gpl.txt
|
|
|
|
from pisi.actionsapi import kerneltools
|
|
from pisi.actionsapi import autotools
|
|
from pisi.actionsapi import pisitools
|
|
|
|
KDIR = kerneltools.getKernelVersion()
|
|
|
|
def build():
|
|
autotools.make("KERNEL_DIR=/lib/modules/%s/build" % KDIR)
|
|
|
|
def install():
|
|
pisitools.insinto("/lib/modules/%s/extra" % KDIR, "*.ko")
|
|
pisitools.dodoc("LICENSE", "README*")
|