wok-next view python-youtube-dl/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents c9a7a7b42a86
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="youtube_dl"
4 PACKAGE="python-youtube-dl"
5 VERSION="2018.09.18"
6 VERSION_PIP="2018.9.18" # some inconsistancy in the pipy version
7 CATEGORY="utilities"
8 SHORT_DESC="Downloads videos from various streaming websites"
9 MAINTAINER="devel@slitaz.org"
10 LICENSE="MIT"
11 WEB_SITE="https://rg3.github.io/youtube-dl/"
12 HOST_ARCH="any"
13 REPOLOGY="youtube-dl"
15 BUILD_DEPENDS="python python3"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION_PIP
20 }
22 genpkg_rules() {
23 copy @std
24 py="${PACKAGE%%-*}" # python/python3
25 DEPENDS="$py"
26 PROVIDE="youtube-dl"
27 }