wok annotate fbvnc/receipt @ rev 15742
Up: tazdev and tazwikiss (match slitaz-dev-tools Hg tag)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 02 14:50:15 2014 +0100 (2014-01-02) |
parents | b2a632fc9587 |
children | 38c69652a653 |
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@14851 | 8 LICENSE="GPL2" |
pascal@11212 | 9 WEB_SITE="http://repo.or.cz/w/fbvnc.git" |
pascal@14337 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13034 | 11 TAGS="vnc remote-desktop" |
pascal@11212 | 12 |
pascal@11212 | 13 # Rules to configure and make the package. |
pascal@11212 | 14 compile_rules() |
pascal@11212 | 15 { |
pascal@14337 | 16 [ -s $SOURCES_REPOSITORY/$TARBALL ] || |
pascal@14337 | 17 wget -O $SOURCES_REPOSITORY/$TARBALL \ |
pascal@11212 | 18 $WEB_SITE/snapshot/e42bc02b14b3331e7c7f45c6b42179d0af99ed7b.tar.gz |
pascal@11212 | 19 mkdir -p $src |
pascal@11212 | 20 cd $src |
pascal@14337 | 21 tar xzf $SOURCES_REPOSITORY/$TARBALL |
pascal@11212 | 22 mkdir $DESTDIR |
pascal@11212 | 23 cd fbvnc |
pascal@11212 | 24 patch -p0 < $stuff/fbvnc.u && |
pascal@11212 | 25 make && cp fbvnc $DESTDIR |
pascal@11212 | 26 } |
pascal@11212 | 27 |
pascal@11212 | 28 |
pascal@11212 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11212 | 30 genpkg_rules() |
pascal@11212 | 31 { |
pascal@11212 | 32 mkdir -p $fs/usr/bin |
pascal@14337 | 33 cp $install/fbvnc $fs/usr/bin |
pascal@11212 | 34 } |