SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fbvnc-auth"

# SliTaz package receipt.

PACKAGE="fbvnc-auth"
VERSION="1.0.2"
CATEGORY="network"
SHORT_DESC="VNC client in frame buffer with authentication."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://github.com/zohead/fbvnc"
WGET_URL="git|git://github.com/zohead/fbvnc.git"
PROVIDE="fbvnc"
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 - https://github.com/zohead/fbvnc/commits/master 2>/dev/null | \
    sed '/[0-9] version/!d;s|.*">||;s| .*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    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)