wok annotate fbvnc-auth/receipt @ rev 24975

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