Merge 2020.11.18

This commit is contained in:
df 2020-11-18 05:11:10 +00:00
parent f91c6cbecd
commit 2d5a3a7737
2 changed files with 10 additions and 4 deletions

View File

@ -3,7 +3,9 @@
#
DISTPKG := python2.7/dist-packages
.PHONY: all clean opkg clean-opk clean-opkg release opkg-bin opkg-lib
.PHONY: all clean opkg clean-opk clean-opkg release opkg-bin opkg-lib opkg-sav
MV ?= mv -f
clean-opk: $(wildcard *.opk)
-$(RM) $?
@ -23,11 +25,15 @@ opkg-bin: $(wildcard ../bin/*) $(wildcard bin/*)
install -d opkg/bin
install -p $? opkg/bin
opkg: $(wildcard opkg/CONTROL/*) opkg-bin opkg-lib
opkg-sav: $(wildcard *.opk)
$(foreach opk,$^,-$(MV) "$(opk)" "$(opk).sav")
opkg: $(wildcard opkg/CONTROL/*) opkg-bin opkg-lib opkg-sav
opkg-pack opkg
-for opk in youtube-dl*.opk; do $(RM) "$${opk}.sav"; done
release: opkg
tagname=$$(echo youtube-dl*.opk | sed -n 'p;q') && \
tagname="$$(for opk in youtube-dl*.opk; do echo "$$opk"; break; done)" && \
tagname="$${tagname%_*.*}" && \
test -n "$${tagname}" && \
git tag -f -a -m "Release $${tagname}" "$${tagname}"

View File

@ -1,7 +1,7 @@
Package: youtube-dl
Priority: optional
Section: misc
Version: 2020.11.12
Version: 2020.11.18
Architecture: mipsel
Maintainer: prpr
Depends: ffmpeg(>=4.1),wget(>=1.20),python,libiconv