wok-next view fbvnc/receipt @ rev 13892
cookutils: get tarball from hg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 17 22:23:35 2013 +0100 (2013-01-17) |
parents | 7ad949dccd95 |
children | b2a632fc9587 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fbvnc"
4 VERSION="20110416"
5 CATEGORY="network"
6 SHORT_DESC="VNC client in frame buffer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://repo.or.cz/w/fbvnc.git"
9 _TARBALL="$PACKAGE-$VERSION.tar.gz"
10 TAGS="vnc remote-desktop"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 [ -s $SOURCES_REPOSITORY/$_TARBALL ] ||
16 wget -O $SOURCES_REPOSITORY/$_TARBALL \
17 $WEB_SITE/snapshot/e42bc02b14b3331e7c7f45c6b42179d0af99ed7b.tar.gz
18 mkdir -p $src
19 cd $src
20 tar xzf $SOURCES_REPOSITORY/$_TARBALL
21 mkdir $DESTDIR
22 cd fbvnc
23 patch -p0 < $stuff/fbvnc.u &&
24 make && cp fbvnc $DESTDIR
25 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp $_pkg/fbvnc $fs/usr/bin
33 }