wok-next annotate fbvnc/receipt @ rev 16596

Add piclass-code-examples (with 8x8 examples)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 07 11:14:26 2014 +0200 (2014-05-07)
parents f740103ca6ee
children c4e53a39395a
rev   line source
pascal@11212 1 # SliTaz package receipt.
pascal@11212 2
pascal@11212 3 PACKAGE="fbvnc"
pankso@16095 4 VERSION="20130314"
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"
pankso@16095 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11212 10 WEB_SITE="http://repo.or.cz/w/fbvnc.git"
pankso@16095 11 WGET_URL="git|git://repo.or.cz/fbvnc.git"
pascal@13034 12 TAGS="vnc remote-desktop"
pankso@16095 13 HOST_ARCH="i486 arm"
pankso@16095 14
pankso@16095 15 # Git must be installed in a cross chroot
pankso@16095 16 case "$ARCH" in
pankso@16095 17 i?86) BUILD_DEPENDS="git" ;;
pankso@16095 18 esac
pascal@11212 19
pascal@11212 20 # Rules to configure and make the package.
pascal@11212 21 compile_rules()
pascal@11212 22 {
pankso@16095 23 #patch -p0 < $stuff/fbvnc.u &&
pankso@16095 24 sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile &&
pankso@16095 25 make
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
pankso@16095 32 cp -a $src/fbvnc $fs/usr/bin
pascal@11212 33 }