wok-current view fbvnc/receipt @ rev 12086
osmo: Make sure /usr folder exist before copying /usr/bin folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 09 21:48:21 2012 -0500 (2012-03-09) |
parents | |
children | e53e5e4b0f9e |
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"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 [ -s $SOURCES_REPOSITORY/$_TARBALL ] ||
15 wget -O $SOURCES_REPOSITORY/$_TARBALL \
16 $WEB_SITE/snapshot/e42bc02b14b3331e7c7f45c6b42179d0af99ed7b.tar.gz
17 mkdir -p $src
18 cd $src
19 tar xzf $SOURCES_REPOSITORY/$_TARBALL
20 mkdir $DESTDIR
21 cd fbvnc
22 patch -p0 < $stuff/fbvnc.u &&
23 make && cp fbvnc $DESTDIR
24 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp $_pkg/fbvnc $fs/usr/bin
32 }