wok view vnc2swf/receipt @ rev 24974
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 02 11:23:24 2022 +0000 (2022-05-02) |
parents | b0c60d808e5c |
children | 65ff25c4de90 |
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="http://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 }