wok-current annotate 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
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@11212 10
pascal@11212 11 # Rules to configure and make the package.
pascal@11212 12 compile_rules()
pascal@11212 13 {
pascal@11212 14 [ -s $SOURCES_REPOSITORY/$_TARBALL ] ||
pascal@11212 15 wget -O $SOURCES_REPOSITORY/$_TARBALL \
pascal@11212 16 $WEB_SITE/snapshot/e42bc02b14b3331e7c7f45c6b42179d0af99ed7b.tar.gz
pascal@11212 17 mkdir -p $src
pascal@11212 18 cd $src
pascal@11212 19 tar xzf $SOURCES_REPOSITORY/$_TARBALL
pascal@11212 20 mkdir $DESTDIR
pascal@11212 21 cd fbvnc
pascal@11212 22 patch -p0 < $stuff/fbvnc.u &&
pascal@11212 23 make && cp fbvnc $DESTDIR
pascal@11212 24 }
pascal@11212 25
pascal@11212 26
pascal@11212 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11212 28 genpkg_rules()
pascal@11212 29 {
pascal@11212 30 mkdir -p $fs/usr/bin
pascal@11212 31 cp $_pkg/fbvnc $fs/usr/bin
pascal@11212 32 }