wok view fbvnc-auth/receipt @ rev 25783
Up verbiste (0.1.49)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 13:23:01 2024 +0000 (6 weeks ago) |
parents | d8c511e24c20 |
children |
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 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;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 }