wok-current view tlp/receipt @ rev 24133
Up tazinst (115)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 23 15:17:56 2021 +0000 (2021-10-23) |
parents | fab664cb3963 |
children | 8c8f0cd75a42 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tlp"
4 VERSION="1.3.1"
5 CATEGORY="misc"
6 SHORT_DESC="Advanced Power Management for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 GPL3"
9 WEB_SITE="https://linrunner.de/en/tlp/tlp.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/linrunner/TLP/archive/$VERSION.tar.gz"
14 current_version()
15 {
16 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }