wok-6.x view vnc2flv/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | 104a2a2e5484 |
children | 73f36875e5a7 |
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="http://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 }