wok-6.x annotate vnc2swf/receipt @ rev 24929
updated mtools (4.0.23 -> 4.0.39)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 15:59:41 2022 +0100 (2022-04-13) |
parents | b0c60d808e5c |
children | 65ff25c4de90 |
rev | line source |
---|---|
pascal@3887 | 1 # SliTaz package receipt. |
pascal@3887 | 2 |
pascal@3887 | 3 PACKAGE="vnc2swf" |
pascal@3887 | 4 VERSION="0.5.0" |
pascal@3887 | 5 CATEGORY="network" |
pascal@3887 | 6 SHORT_DESC="VNC recorder" |
pascal@3887 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15216 | 8 LICENSE="GPL2" |
pascal@3887 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3887 | 10 WEB_SITE="http://www.unixuser.org/~euske/vnc2swf" |
pascal@3887 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@15216 | 12 SUGGESTED="x11vnc" |
pascal@15216 | 13 TAGS="vnc" |
pascal@15216 | 14 |
pascal@3887 | 15 DEPENDS="gcc-lib-base glibc-base xorg-libICE xorg-libSM xorg-libX11 \ |
pascal@3887 | 16 xorg-libXau xorg-libXaw xorg-libXdmcp xorg-libXext xorg-libXmu xorg-libXpm \ |
pascal@3887 | 17 xorg-libXt zlib " |
pascal@4190 | 18 BUILD_DEPENDS="xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \ |
pascal@4190 | 19 xorg-libXau-dev xorg-libXaw-dev xorg-libXdmcp-dev xorg-libXext-dev \ |
pascal@4190 | 20 xorg-libXmu-dev xorg-libXpm-dev xorg-libXt-dev zlib-dev" |
pascal@3887 | 21 |
pascal@24425 | 22 # What is the latest version available today? |
pascal@24425 | 23 current_version() |
pascal@24425 | 24 { |
pascal@24425 | 25 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 26 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 27 } |
pascal@24425 | 28 |
pascal@3887 | 29 # Rules to configure and make the package. |
pascal@3887 | 30 compile_rules() |
pascal@3887 | 31 { |
pascal@3887 | 32 cd $src |
pascal@3887 | 33 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@3887 | 34 make && |
pascal@15216 | 35 make DESTDIR=$DESTDIR install |
pascal@3887 | 36 } |
pascal@3887 | 37 |
pascal@3887 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3887 | 39 genpkg_rules() |
pascal@3887 | 40 { |
pascal@3887 | 41 mkdir -p $fs/usr/ |
pascal@15216 | 42 cp -a $install/usr/X11R6/bin/ $fs/usr/ |
pascal@3887 | 43 } |