1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-17 03:06:12 +02:00
build/pkg/kmod/build
David Oberhollenzer 325cb95b75 Bump kmod version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-07 03:28:21 +02:00

26 lines
530 B
Plaintext

VERSION="27"
SRCDIR="kmod-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="https://www.kernel.org/pub/linux/utils/kernel/kmod/"
SHA256SUM="c1d3fbf16ca24b95f334c1de1b46f17bbe5a10b0e81e72668bdc922ebffbbc0c"
DEPENDS="zlib-dev xz-dev toolchain"
SUBPKG="kmod kmod-dev"
prepare() {
return
}
build() {
run_configure "$1" --with-xz --with-zlib
make -j $NUMJOBS
}
deploy() {
make DESTDIR="$PKGDEPLOYDIR" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}
check_update() {
check_update_simple "$URL" "kmod" "tar.xz"
}