wok-6.x annotate fbvnc/receipt @ rev 14337
Add EXTRA_SOURCE_FILES variable to track sources files for the mirrors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 13 19:32:46 2013 +0200 (2013-04-13) |
parents | e53e5e4b0f9e |
children | f740103ca6ee |
rev | line source |
---|---|
pascal@11212 | 1 # SliTaz package receipt. |
pascal@11212 | 2 |
pascal@11212 | 3 PACKAGE="fbvnc" |
pascal@11212 | 4 VERSION="20110416" |
pascal@11212 | 5 CATEGORY="network" |
pascal@11212 | 6 SHORT_DESC="VNC client in frame buffer." |
pascal@11212 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11212 | 8 WEB_SITE="http://repo.or.cz/w/fbvnc.git" |
pascal@14337 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13034 | 10 TAGS="vnc remote-desktop" |
pascal@11212 | 11 |
pascal@11212 | 12 # Rules to configure and make the package. |
pascal@11212 | 13 compile_rules() |
pascal@11212 | 14 { |
pascal@14337 | 15 [ -s $SOURCES_REPOSITORY/$TARBALL ] || |
pascal@14337 | 16 wget -O $SOURCES_REPOSITORY/$TARBALL \ |
pascal@11212 | 17 $WEB_SITE/snapshot/e42bc02b14b3331e7c7f45c6b42179d0af99ed7b.tar.gz |
pascal@11212 | 18 mkdir -p $src |
pascal@11212 | 19 cd $src |
pascal@14337 | 20 tar xzf $SOURCES_REPOSITORY/$TARBALL |
pascal@11212 | 21 mkdir $DESTDIR |
pascal@11212 | 22 cd fbvnc |
pascal@11212 | 23 patch -p0 < $stuff/fbvnc.u && |
pascal@11212 | 24 make && cp fbvnc $DESTDIR |
pascal@11212 | 25 } |
pascal@11212 | 26 |
pascal@11212 | 27 |
pascal@11212 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11212 | 29 genpkg_rules() |
pascal@11212 | 30 { |
pascal@11212 | 31 mkdir -p $fs/usr/bin |
pascal@14337 | 32 cp $install/fbvnc $fs/usr/bin |
pascal@11212 | 33 } |