mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Built kmod
This commit is contained in:
22
sources/kmod/kmod.spec
Normal file
22
sources/kmod/kmod.spec
Normal file
@@ -0,0 +1,22 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_FILENAME="kmod-34.tar.gz"
|
||||
SRC_HASH="cb47be49366b596e4554eeeb7595b128feb261619c7675603e004b07c5ebbd5b"
|
||||
SRC_NAME="kmod"
|
||||
SRC_URL="https://github.com/kmod-project/kmod/archive/refs/tags/v34.tar.gz"
|
||||
SRC_VERSION="34"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd kmod-$SRC_VERSION/
|
||||
./autogen.sh
|
||||
# NOTE: Building man pages requires scdoc. In an attempt to reduce the total
|
||||
# number of dependencies, documentation is temporarily disabled.
|
||||
# ~ahill
|
||||
./configure $TT_AUTOCONF_COMMON --disable-manpages --enable-year2038
|
||||
make -j $TT_PROCS
|
||||
}
|
||||
|
||||
package() {
|
||||
cd kmod-$SRC_VERSION/
|
||||
make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
}
|
||||
Reference in New Issue
Block a user