wok annotate 915resolution/receipt @ rev 25481

created recipe for py3k-cffi
author Hans-G?nter Theisgen
date Mon Oct 17 07:42:01 2022 +0100 (20 months ago)
parents 68cf96abc146
children c470ca10c896
rev   line source
erjo@1150 1 # SliTaz package receipt.
erjo@1150 2
erjo@1150 3 PACKAGE="915resolution"
erjo@1150 4 VERSION="0.5.3"
erjo@1150 5 CATEGORY="system-tools"
al@17992 6 SHORT_DESC="Intel video BIOS hack to support certain resolutions"
erjo@1150 7 MAINTAINER="erjo@slitaz.org"
pascal@14801 8 LICENSE="PublicDomain"
erjo@1150 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25470 10 WEB_SITE="https://web.archive.org/web/20210828084127/http://915resolution.mango-lang.org/"
pascal@25470 11 WGET_URL="https://web.archive.org/web/20210828014220if_/http://915resolution.mango-lang.org/$TARBALL"
jozee@4586 12 TAGS="widescreen resolution"
erjo@1150 13
al@14766 14 DEPENDS=""
al@14766 15
pascal@24066 16 current_version()
pascal@24066 17 {
pascal@24066 18 wget -O - ${WEB_SITE}download.html 2>/dev/null | \
pascal@24066 19 sed '/href/!d;s|.*>\(.*\)<.*|\1|;q'
pascal@24066 20 }
pascal@24066 21
erjo@1150 22 # Rules to configure and make the package.
erjo@1150 23 compile_rules()
erjo@1150 24 {
pascal@12028 25 for i in widescreen-resolution cedarview ; do
pascal@1796 26 [ -f done.$i ] && continue
pascal@12028 27 patch -p0 < $stuff/$PACKAGE-$VERSION-$i.patch
pascal@1796 28 touch done.$i
pascal@1796 29 done
al@14766 30 make
erjo@1150 31 }
erjo@1150 32
erjo@1150 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1150 34 genpkg_rules()
erjo@1150 35 {
al@14766 36 mkdir -p $fs/usr/sbin
al@14766 37 install $src/$PACKAGE $fs/usr/sbin
al@14766 38 install $src/dump_bios $fs/usr/sbin
erjo@1150 39 }