wok-6.x annotate fbvnc/receipt @ rev 24415
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 18:04:02 2022 +0000 (2022-02-10) |
parents | 38c69652a653 |
children | b9659e3c2111 |
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@11212 | 20 # Rules to configure and make the package. |
pascal@11212 | 21 compile_rules() |
pascal@11212 | 22 { |
pankso@16095 | 23 #patch -p0 < $stuff/fbvnc.u && |
pankso@16095 | 24 sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile && |
pankso@16095 | 25 make |
pascal@11212 | 26 } |
pascal@11212 | 27 |
pascal@11212 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11212 | 29 genpkg_rules() |
pascal@11212 | 30 { |
pascal@11212 | 31 mkdir -p $fs/usr/bin |
pankso@16095 | 32 cp -a $src/fbvnc $fs/usr/bin |
pascal@11212 | 33 } |