wok view fbff/receipt @ rev 20580

go: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 22:11:22 2018 +0100 (2018-12-13)
parents 38c69652a653
children 22980cdd8a20
line source
1 # SliTaz package receipt.
3 PACKAGE="fbff"
4 VERSION="20150331"
5 CATEGORY="multimedia"
6 SHORT_DESC="FFmpeg client in frame buffer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://repo.or.cz/w/fbff.git"
11 WGET_URL="git|git://repo.or.cz/fbff.git"
12 TAGS="video"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ffmpeg zlib"
16 BUILD_DEPENDS="ffmpeg-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 case "$ARCH" in
22 arm*) sed -i s"#/opt#/cross/$ARCH/sysroot/usr#" Makefile ;;
23 esac &&
24 sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile &&
25 make
26 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp $src/fbff $fs/usr/bin
34 }