SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fbvnc"

# SliTaz package receipt.

PACKAGE="fbvnc"
VERSION="20130314"
CATEGORY="network"
SHORT_DESC="VNC client in frame buffer."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://repo.or.cz/w/fbvnc.git"
WGET_URL="git|git://repo.or.cz/fbvnc.git"
TAGS="vnc remote-desktop"
HOST_ARCH="i486 arm"

# Git must be installed in a cross chroot
case "$ARCH" in
    i?86) BUILD_DEPENDS="git" ;;
esac

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/shortlog 2>/dev/null | \
    sed '/<td title=/!d;s|.*[">]\(20[0-9]\)|\1|;s|["<].*||;s|-||g;q'
}

# Rules to configure and make the package.
compile_rules()
{
    #patch -p0 < $stuff/fbvnc.u &&
    sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile &&
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/fbvnc $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)