wok annotate dkms/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 5ea0ce1cecc0
children fe1b5660fdd1
rev   line source
pascal@9116 1 # SliTaz package receipt.
pascal@9116 2
pascal@9116 3 PACKAGE="dkms"
Hans-G?nter@24487 4 VERSION="3.0.3"
pascal@9116 5 CATEGORY="system-tools"
pascal@9116 6 SHORT_DESC="Dynamic Kernel Module Support."
pascal@9116 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
Hans-G?nter@22736 9 WEB_SITE="https://github.com/dell/dkms"
Hans-G?nter@20839 10
pascal@9116 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20839 12 WGET_URL="https://github.com/dell/$PACKAGE/archive/v$VERSION/$TARBALL"
pascal@9116 13
pascal@15613 14 BUILD_DEPENDS="gettext"
pascal@15613 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
pascal@9116 22 # Rules to configure and make the package.
pascal@9116 23 compile_rules()
pascal@9116 24 {
Hans-G?nter@24487 25 make install DESTDIR=$DESTDIR
pascal@9116 26 }
pascal@9116 27
pascal@9116 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9116 29 genpkg_rules()
pascal@9116 30 {
Hans-G?nter@22736 31 cp -a $install/* $fs
pascal@9116 32 }