wok-6.x view fbff/receipt @ rev 24759

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