2019-03-09 23:26:00 +01:00
|
|
|
VERSION="26"
|
2018-01-14 21:40:12 +01:00
|
|
|
SRCDIR="kmod-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.xz"
|
|
|
|
URL="https://www.kernel.org/pub/linux/utils/kernel/kmod/"
|
2019-03-09 23:26:00 +01:00
|
|
|
SHA256SUM="57bb22c8bb56435991f6b0810a042b0a65e2f1e217551efa58235b7034cdbb9d"
|
2019-03-30 23:28:30 +01:00
|
|
|
DEPENDS="zlib-dev xz-dev toolchain"
|
2019-02-27 14:22:03 +01:00
|
|
|
SUBPKG="kmod kmod-dev"
|
2018-01-14 21:40:12 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1" --with-xz --with-zlib
|
2018-01-14 21:40:12 +01:00
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
2019-03-06 10:03:12 +01:00
|
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
2018-01-14 21:40:12 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
2019-07-07 16:17:16 +02:00
|
|
|
check_update_simple "$URL" "kmod" "tar.xz"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|