wok annotate vnc2flv/receipt @ rev 24780

transmission: autoconf 2.70+ bug workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 20:17:02 2022 +0000 (2022-03-19)
parents d1b6fe8c8301
children e717a4953b0e
rev   line source
pascal@7430 1 # SliTaz package receipt.
pascal@7430 2
pascal@7430 3 PACKAGE="vnc2flv"
pascal@7430 4 VERSION="20100207"
pascal@7430 5 CATEGORY="network"
pascal@7430 6 SHORT_DESC="VNC recorder"
pascal@7430 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14850 8 LICENSE="MIT"
pascal@7430 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@7430 10 WEB_SITE="http://www.unixuser.org/~euske/python/vnc2flv"
slaxemulator@10880 11 WGET_URL="http://pypi.python.org/packages/source/v/vnc2flv/$TARBALL"
pascal@7430 12 SUGGESTED="x11vnc"
pascal@13034 13 TAGS="vnc"
pascal@7430 14
pascal@14850 15 DEPENDS="python"
pascal@14850 16
pascal@24391 17 # What is the latest version available today?
pascal@24391 18 current_version()
pascal@24391 19 {
pascal@24391 20 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \
pascal@24391 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
pascal@24391 22 }
pascal@24391 23
pascal@7430 24 # Rules to configure and make the package.
pascal@7430 25 compile_rules()
pascal@7430 26 {
pascal@7430 27 cd $src
pascal@7430 28 make
pascal@7430 29 }
pascal@7430 30
pascal@7430 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7430 32 genpkg_rules()
pascal@7430 33 {
pascal@7430 34 mkdir -p $fs/usr/share/$PACKAGE
pascal@7430 35 cp -a $src/$PACKAGE/* $fs/usr/share/$PACKAGE
pascal@7430 36 }