wok view 915resolution/receipt @ rev 25178

Add linux-chrome
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 03 18:25:40 2022 +0000 (2022-07-03)
parents c9e270dd464f
children 19fff4ad1644
line source
1 # SliTaz package receipt.
3 PACKAGE="915resolution"
4 VERSION="0.5.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Intel video BIOS hack to support certain resolutions"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="PublicDomain"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://915resolution.mango-lang.org/"
11 WGET_URL="$WEB_SITE$TARBALL"
12 TAGS="widescreen resolution"
14 DEPENDS=""
16 current_version()
17 {
18 wget -O - ${WEB_SITE}download.html 2>/dev/null | \
19 sed '/href/!d;s|.*>\(.*\)<.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 for i in widescreen-resolution cedarview ; do
26 [ -f done.$i ] && continue
27 patch -p0 < $stuff/$PACKAGE-$VERSION-$i.patch
28 touch done.$i
29 done
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/sbin
37 install $src/$PACKAGE $fs/usr/sbin
38 install $src/dump_bios $fs/usr/sbin
39 }