2020-03-13 12:44:32 +01:00
|
|
|
VERSION="27"
|
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/"
|
2020-03-13 12:44:32 +01:00
|
|
|
SHA256SUM="c1d3fbf16ca24b95f334c1de1b46f17bbe5a10b0e81e72668bdc922ebffbbc0c"
|
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
|
|
|
|
|
|
|
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
|
|
|
}
|