wok annotate cmospwd/receipt @ rev 25068
updated alsa-tools packages (1.1.5 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 10 13:52:51 2022 +0100 (2022-06-10) |
parents | 39fb10403b4b |
children |
rev | line source |
---|---|
pascal@18490 | 1 # SliTaz package receipt. |
pascal@18490 | 2 |
pascal@18490 | 3 PACKAGE="cmospwd" |
Hans-G?nter@20800 | 4 VERSION="5.1" |
pascal@18490 | 5 CATEGORY="misc" |
Hans-G?nter@20800 | 6 TAGS="CMOS" |
pascal@18490 | 7 SHORT_DESC="Decrypts password stored in cmos used to access BIOS SETUP." |
pascal@18490 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18490 | 9 LICENSE="GPL2" |
Hans-G?nter@20800 | 10 WEB_SITE="https://www.cgsecurity.org/wiki/CmosPwd" |
Hans-G?nter@20800 | 11 |
pascal@18490 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20669 | 13 WGET_URL="https://www.cgsecurity.org/$TARBALL" |
pascal@18490 | 14 |
pascal@24902 | 15 # What is the latest version available today? |
pascal@24902 | 16 current_version() |
pascal@24902 | 17 { |
pascal@24902 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24902 | 19 sed '/cmospwd-/!d;/tar..z/!d;s|.*cmospwd-||;s|.tar.*||;q' |
pascal@24902 | 20 } |
pascal@24902 | 21 |
pascal@18490 | 22 # Rules to configure and make the package. |
pascal@18490 | 23 compile_rules() |
pascal@18490 | 24 { |
pascal@18490 | 25 cd $src/src |
pascal@18492 | 26 rm -f cmospwd |
pascal@18490 | 27 make |
pascal@18490 | 28 } |
pascal@18490 | 29 |
pascal@18490 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18490 | 31 genpkg_rules() |
pascal@18490 | 32 { |
pascal@18490 | 33 mkdir -p $fs/usr/bin |
pascal@18490 | 34 cp -a $src/src/cmospwd $fs/usr/bin |
pascal@18490 | 35 } |