description="The Kmod package contains libraries and utilities for loading kernel modules."
url="http://www.kernel.org/pub/linux/kernel/people/rusty/modules"

packager="Grat-OS Team"
maintainer="Grat-OS Team"

PKGMK_GROUPS=(devel doc man)

name=kmod
version=34.2
release=1

source=(https://www.kernel.org/pub/linux/utils/kernel/$name/$name-$version.tar.xz)

build() {
  cd $name-$version

  ./configure --prefix=/usr \
              --sysconfdir=/etc \
              --with-xz \
              --with-zstd \
              --with-zlib \
              --disable-manpages

  make
  make DESTDIR=$PKG install
}
