wok-current annotate dkms/receipt @ rev 25109
Up perl-date-manip (6.88)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 25 09:21:55 2022 +0000 (2022-06-25) |
parents | 5ea0ce1cecc0 |
children |
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 } |