wok annotate fbff/receipt @ rev 24857
updated links and links-dfb (2.20.2 -> 2.25)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 28 17:04:25 2022 +0100 (2022-03-28) |
parents | 44aa2ef81b32 |
children |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="fbff" |
Hans-G?nter@20913 | 4 VERSION="20170211" |
pascal@13591 | 5 CATEGORY="multimedia" |
Hans-G?nter@20913 | 6 TAGS="video" |
pascal@13591 | 7 SHORT_DESC="FFmpeg client in frame buffer." |
pascal@13591 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14853 | 9 LICENSE="GPL2" |
Hans-G?nter@20913 | 10 WEB_SITE="https://repo.or.cz/w/fbff.git" |
Hans-G?nter@20913 | 11 |
pankso@16095 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@16095 | 13 WGET_URL="git|git://repo.or.cz/fbff.git" |
pascal@13591 | 14 |
pascal@13591 | 15 DEPENDS="ffmpeg zlib" |
pascal@20590 | 16 BUILD_DEPENDS="ffmpeg-dev zlib-dev libgnutls" |
Hans-G?nter@20913 | 17 HOST_ARCH="i486 arm" |
pascal@13591 | 18 |
pascal@24545 | 19 # What is the latest version available today? |
pascal@24545 | 20 current_version() |
pascal@24545 | 21 { |
pascal@24545 | 22 wget -O - $WEB_SITE/shortlog 2>/dev/null | \ |
pascal@24545 | 23 sed '/<td title=/!d;s|.*<i>||;s|</.*||;s|-||g;q' |
pascal@24545 | 24 } |
pascal@24545 | 25 |
pascal@13591 | 26 # Rules to configure and make the package. |
pascal@13591 | 27 compile_rules() |
pascal@13591 | 28 { |
pankso@16095 | 29 case "$ARCH" in |
pankso@16095 | 30 arm*) sed -i s"#/opt#/cross/$ARCH/sysroot/usr#" Makefile ;; |
pankso@16095 | 31 esac && |
pankso@16095 | 32 sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile && |
pankso@16095 | 33 make |
pascal@13591 | 34 } |
pascal@13591 | 35 |
pascal@13591 | 36 |
pascal@13591 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 38 genpkg_rules() |
pascal@13591 | 39 { |
pascal@13591 | 40 mkdir -p $fs/usr/bin |
pankso@16095 | 41 cp $src/fbff $fs/usr/bin |
pascal@13591 | 42 } |