Built kmod
This commit is contained in:
parent
c34e63ba5e
commit
091e212479
@ -27,7 +27,7 @@ Definitions:
|
||||
| `initramfs-tools` | Yes | Yes |
|
||||
| `iproute2` |
|
||||
| `kbd` |
|
||||
| `kmod` |
|
||||
| `kmod` | Yes | Yes |
|
||||
| `less` |
|
||||
| `libarchive` | Yes | Yes |
|
||||
| `libcap2` |
|
||||
|
||||
@ -255,6 +255,7 @@ SOURCES=(
|
||||
grep
|
||||
groff
|
||||
gzip
|
||||
kmod
|
||||
libarchive
|
||||
libelf
|
||||
libressl
|
||||
|
||||
@ -37,7 +37,7 @@ echo "Done!"
|
||||
# NOTE: libelf requires zlib to build. ~ahill
|
||||
# NOTE: fortune-mod requires cmake to build. ~ahill
|
||||
cd /maple
|
||||
LAYER0="bc byacc bzip2 coreutils diffutils findutils grep gzip libressl m4 make mawk muon musl patch perl pkgconf sed tar xz zlib"
|
||||
LAYER0="bc byacc bzip2 coreutils diffutils findutils grep gzip kmod libressl m4 make mawk muon musl patch perl pkgconf sed tar xz zlib"
|
||||
LAYER1="autoconf automake flex groff libarchive libelf libtool linux"
|
||||
LAYER2="dash nasm cmake fortune-mod"
|
||||
PACKAGES="$LAYER0 $LAYER1 $LAYER2"
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user