wok-current view vnc2swf/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 453c249b6219
children
line source
1 # SliTaz package receipt.
3 PACKAGE="vnc2swf"
4 VERSION="0.5.0"
5 CATEGORY="network"
6 SHORT_DESC="VNC recorder"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.unixuser.org/~euske/vnc2swf"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 SUGGESTED="x11vnc"
13 TAGS="vnc"
15 DEPENDS="gcc-lib-base glibc-base xorg-libICE xorg-libSM xorg-libX11 \
16 xorg-libXau xorg-libXaw xorg-libXdmcp xorg-libXext xorg-libXmu xorg-libXpm \
17 xorg-libXt zlib "
18 BUILD_DEPENDS="xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \
19 xorg-libXau-dev xorg-libXaw-dev xorg-libXdmcp-dev xorg-libXext-dev \
20 xorg-libXmu-dev xorg-libXpm-dev xorg-libXt-dev zlib-dev"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/*} 2>/dev/null | \
26 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 cd $src
33 ./configure --prefix=/usr $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/
42 cp -a $install/usr/X11R6/bin/ $fs/usr/
43 }