wok view fbvnc-auth/receipt @ rev 25421

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 10 07:02:08 2022 +0000 (2022-08-10)
parents 51c17c81e266
children a66f312c374b
line source
1 # SliTaz package receipt.
3 PACKAGE="fbvnc-auth"
4 VERSION="1.0.2"
5 CATEGORY="network"
6 SHORT_DESC="VNC client in frame buffer with authentication."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/zohead/fbvnc"
11 WGET_URL="git|git://github.com/zohead/fbvnc.git"
12 PROVIDE="fbvnc"
13 TAGS="vnc remote-desktop"
14 HOST_ARCH="i486 arm"
16 # Git must be installed in a cross chroot
17 case "$ARCH" in
18 i?86) BUILD_DEPENDS="git" ;;
19 esac
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://github.com/zohead/fbvnc/commits/master 2>/dev/null | \
25 sed '/[0-9] version/!d;s|.*">||;s| .*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile &&
32 make
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 cp -a $src/fbvnc $fs/usr/bin
40 }