wok view fbvnc/receipt @ rev 24817
created recipes for libnsl and libnsl-dev
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 07:31:51 2022 +0100 (2022-03-23) |
parents | 6e8b1bcb30e2 |
children | fbe88431f963 |
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|.*<i>||;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 }