wok annotate fbvnc/receipt @ rev 24620
updated gputils (1.5.0.1 -> 1.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 10:52:24 2022 +0100 (2022-03-07) |
parents | 6e8b1bcb30e2 |
children | fbe88431f963 |
rev | line source |
---|---|
pascal@11212 | 1 # SliTaz package receipt. |
pascal@11212 | 2 |
pascal@11212 | 3 PACKAGE="fbvnc" |
pankso@16095 | 4 VERSION="20130314" |
pascal@11212 | 5 CATEGORY="network" |
pascal@11212 | 6 SHORT_DESC="VNC client in frame buffer." |
pascal@11212 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14851 | 8 LICENSE="GPL2" |
pankso@16095 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20671 | 10 WEB_SITE="https://repo.or.cz/w/fbvnc.git" |
pankso@16095 | 11 WGET_URL="git|git://repo.or.cz/fbvnc.git" |
pascal@13034 | 12 TAGS="vnc remote-desktop" |
pankso@16095 | 13 HOST_ARCH="i486 arm" |
pankso@16095 | 14 |
pankso@16095 | 15 # Git must be installed in a cross chroot |
pankso@16095 | 16 case "$ARCH" in |
pankso@16095 | 17 i?86) BUILD_DEPENDS="git" ;; |
pankso@16095 | 18 esac |
pascal@11212 | 19 |
pascal@24545 | 20 # What is the latest version available today? |
pascal@24545 | 21 current_version() |
pascal@24545 | 22 { |
pascal@24545 | 23 wget -O - $WEB_SITE/shortlog 2>/dev/null | \ |
pascal@24545 | 24 sed '/<td title=/!d;s|.*<i>||;s|</.*||;s|-||g;q' |
pascal@24545 | 25 } |
pascal@24545 | 26 |
pascal@11212 | 27 # Rules to configure and make the package. |
pascal@11212 | 28 compile_rules() |
pascal@11212 | 29 { |
pankso@16095 | 30 #patch -p0 < $stuff/fbvnc.u && |
pankso@16095 | 31 sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile && |
pankso@16095 | 32 make |
pascal@11212 | 33 } |
pascal@11212 | 34 |
pascal@11212 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11212 | 36 genpkg_rules() |
pascal@11212 | 37 { |
pascal@11212 | 38 mkdir -p $fs/usr/bin |
pankso@16095 | 39 cp -a $src/fbvnc $fs/usr/bin |
pascal@11212 | 40 } |