wok-6.x view edid-decode/receipt @ rev 24453
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 15 18:29:48 2022 +0000 (2022-02-15) |
parents | 5ea0ce1cecc0 |
children | 92ffb94dcac0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="edid-decode"
4 VERSION="fork-point-4"
5 CATEGORY="misc"
6 SHORT_DESC="Decode EDID data in human-readable format"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/rpavlik/edid-decode"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
13 current_version()
14 {
15 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
16 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
17 }
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }