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 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;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
}
6011 packages and 861731 files in cooking database (Sun Dec 22 00:47:27 2024)