wok annotate dkms/receipt @ rev 24207

updated perl-file-basedir (0.03 -> 0.09)
author Hans-G?nter Theisgen
date Fri Dec 31 15:40:31 2021 +0100 (2021-12-31)
parents f26b964dc2aa
children bf200e645e3f
rev   line source
pascal@9116 1 # SliTaz package receipt.
pascal@9116 2
pascal@9116 3 PACKAGE="dkms"
Hans-G?nter@22736 4 VERSION="2.8.1"
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 {
pascal@15579 25 make DESTDIR=$DESTDIR install
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 }