wok annotate mps-youtube/receipt @ rev 25638
Up tinyssh (20240101 CVE-2023-48795)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 05 10:31:44 2024 +0000 (8 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@18680 | 1 # SliTaz package receipt. |
pascal@18680 | 2 |
pascal@18680 | 3 PACKAGE="mps-youtube" |
Hans-G?nter@21484 | 4 VERSION="0.2.8" |
pascal@18680 | 5 CATEGORY="network" |
pascal@18680 | 6 SHORT_DESC="Terminal based YouTube player and downloader." |
pascal@18680 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18680 | 8 LICENSE="GPL3" |
Hans-G?nter@21484 | 9 WEB_SITE="https://github.com/mps-youtube/mps-youtube" |
Hans-G?nter@21484 | 10 |
pascal@18680 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18680 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@18680 | 13 |
Hans-G?nter@21484 | 14 DEPENDS="mplayer py3k" |
pascal@21580 | 15 BUILD_DEPENDS="py3k python-setuptools" |
pascal@18680 | 16 |
pascal@25600 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25600 | 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@18680 | 24 # Rules to configure and make the package. |
pascal@18680 | 25 compile_rules() |
pascal@18680 | 26 { |
Hans-G?nter@21484 | 27 python3 setup.py build |
Hans-G?nter@21484 | 28 python3 setup.py install --root=$DESTDIR |
pascal@18680 | 29 } |
pascal@18680 | 30 |
pascal@18680 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18680 | 32 genpkg_rules() |
pascal@18680 | 33 { |
pascal@18680 | 34 cp -a $install/usr $fs |
pascal@18680 | 35 } |