wok-current view vnc2flv/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 e717a4953b0e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="vnc2flv"
4 VERSION="20100207"
5 CATEGORY="network"
6 SHORT_DESC="VNC recorder"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.unixuser.org/~euske/python/vnc2flv"
11 WGET_URL="https://pypi.python.org/packages/source/v/vnc2flv/$TARBALL"
12 SUGGESTED="x11vnc"
13 TAGS="vnc"
15 DEPENDS="python"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/$PACKAGE
35 cp -a $src/$PACKAGE/* $fs/usr/share/$PACKAGE
36 }