wok-next annotate fbvnc/receipt @ rev 13034
Add compiler & vnc tags
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 12 20:04:51 2012 +0200 (2012-06-12) |
parents | 7ad949dccd95 |
children | b2a632fc9587 |
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@11212 | 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@11212 | 15 [ -s $SOURCES_REPOSITORY/$_TARBALL ] || |
pascal@11212 | 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@11212 | 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@11212 | 32 cp $_pkg/fbvnc $fs/usr/bin |
pascal@11212 | 33 } |