wok-current annotate 915resolution/receipt @ rev 24084

libjson-c-dev: fix version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 13:06:31 2021 +0000 (2021-07-10)
parents c9e270dd464f
children 19fff4ad1644
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"
jozee@4586 10 WEB_SITE="http://915resolution.mango-lang.org/"
al@14766 11 WGET_URL="$WEB_SITE$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 }