wok annotate 915resolution/receipt @ rev 9730
aufs: add TARBALL need to avoid cloning each time. It's tar.bz2 since cook will compress it in this format but if *.tar.lzma exit it will be used by both cook and tazwok
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 09 15:38:20 2011 +0200 (2011-05-09) |
parents | c2796e3d4f81 |
children | 55b62be94188 |
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" |
jozee@4586 | 6 SHORT_DESC="Widescreen support; modify video BIOS of the 800 and 900 series Intel graphics chipsets" |
erjo@1150 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@1150 | 8 DEPENDS="" |
erjo@1150 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@4586 | 10 WEB_SITE="http://915resolution.mango-lang.org/" |
jozee@4586 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@4586 | 12 TAGS="widescreen resolution" |
erjo@1150 | 13 |
erjo@1150 | 14 # Rules to configure and make the package. |
erjo@1150 | 15 compile_rules() |
erjo@1150 | 16 { |
erjo@1150 | 17 cd $src |
jozee@4586 | 18 for i in $PACKAGE-$VERSION-widescreen-resolution.patch ; do |
pascal@1796 | 19 [ -f done.$i ] && continue |
pascal@8989 | 20 patch -p0 < $stuff/$i |
pascal@1796 | 21 touch done.$i |
pascal@1796 | 22 done |
jozee@4586 | 23 make clean && make |
erjo@1150 | 24 } |
erjo@1150 | 25 |
erjo@1150 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1150 | 27 genpkg_rules() |
erjo@1150 | 28 { |
erjo@1150 | 29 mkdir -p $fs/usr/bin |
erjo@1150 | 30 cp -a $src/$PACKAGE $fs/usr/bin |
erjo@1150 | 31 cp -a $src/dump_bios $fs/usr/bin |
erjo@1150 | 32 } |
erjo@1150 | 33 |