wok view fbvnc/receipt @ rev 25614
Add libslirp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 03 11:59:41 2023 +0000 (15 months ago) |
parents | b9659e3c2111 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fbvnc"
4 VERSION="20130314"
5 CATEGORY="network"
6 SHORT_DESC="VNC client in frame buffer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://repo.or.cz/w/fbvnc.git"
11 WGET_URL="git|git://repo.or.cz/fbvnc.git"
12 TAGS="vnc remote-desktop"
13 HOST_ARCH="i486 arm"
15 # Git must be installed in a cross chroot
16 case "$ARCH" in
17 i?86) BUILD_DEPENDS="git" ;;
18 esac
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE/shortlog 2>/dev/null | \
24 sed '/<td title=/!d;s|.*[">]\(20[0-9]\)|\1|;s|["<].*||;s|-||g;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 #patch -p0 < $stuff/fbvnc.u &&
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 }