wok annotate tlp/receipt @ rev 25556
created recipes for nted and nted-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 22 14:54:15 2023 +0100 (19 months ago) |
parents | 5ea0ce1cecc0 |
children | 0262035dc1e7 |
rev | line source |
---|---|
pascal@20256 | 1 # SliTaz package receipt. |
pascal@20256 | 2 |
pascal@20256 | 3 PACKAGE="tlp" |
Hans-G?nter@25369 | 4 VERSION="1.5.0" |
pascal@20256 | 5 CATEGORY="misc" |
Hans-G?nter@22038 | 6 SHORT_DESC="Advanced Power Management for Linux." |
pascal@20256 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20256 | 8 LICENSE="GPL2 GPL3" |
Hans-G?nter@22038 | 9 WEB_SITE="https://linrunner.de/en/tlp/tlp.html" |
Hans-G?nter@22038 | 10 |
pascal@20256 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20256 | 12 WGET_URL="https://github.com/linrunner/TLP/archive/$VERSION.tar.gz" |
pascal@20256 | 13 |
Hans-G?nter@25369 | 14 SUGGESTED="perl" |
Hans-G?nter@25369 | 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|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
pascal@20256 | 22 # Rules to configure and make the package. |
pascal@20256 | 23 compile_rules() |
pascal@20256 | 24 { |
Hans-G?nter@25369 | 25 make install DESTDIR=$DESTDIR |
pascal@20256 | 26 } |
pascal@20256 | 27 |
pascal@20256 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20256 | 29 genpkg_rules() |
pascal@20256 | 30 { |
Hans-G?nter@23704 | 31 cp -a $install/* $fs |
pascal@20256 | 32 } |