wok view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tlp"
4 VERSION="1.5.0"
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 SUGGESTED="perl"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make install DESTDIR=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 }