wok-6.x annotate fbff/receipt @ rev 18492
cmospwd: force rebuild
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 10 20:11:05 2015 +0200 (2015-10-10) |
parents | 051931e905b0 |
children | 73719490ffe0 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="fbff" |
pankso@16095 | 4 VERSION="20130221" |
pascal@13591 | 5 CATEGORY="multimedia" |
pascal@13591 | 6 SHORT_DESC="FFmpeg client in frame buffer." |
pascal@13591 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14853 | 8 LICENSE="GPL2" |
pankso@16095 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13591 | 10 WEB_SITE="http://repo.or.cz/w/fbff.git" |
pankso@16095 | 11 WGET_URL="git|git://repo.or.cz/fbff.git" |
pascal@13591 | 12 TAGS="video" |
pankso@16095 | 13 HOST_ARCH="i486 arm" |
pascal@13591 | 14 |
pascal@13591 | 15 DEPENDS="ffmpeg zlib" |
pascal@13591 | 16 BUILD_DEPENDS="ffmpeg-dev zlib-dev" |
pascal@13591 | 17 |
pascal@13591 | 18 # Rules to configure and make the package. |
pascal@13591 | 19 compile_rules() |
pascal@13591 | 20 { |
pankso@16095 | 21 case "$ARCH" in |
pankso@16095 | 22 arm*) sed -i s"#/opt#/cross/$ARCH/sysroot/usr#" Makefile ;; |
pankso@16095 | 23 esac && |
pankso@16095 | 24 sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile && |
pankso@16095 | 25 make |
pascal@13591 | 26 } |
pascal@13591 | 27 |
pascal@13591 | 28 |
pascal@13591 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 30 genpkg_rules() |
pascal@13591 | 31 { |
pascal@13591 | 32 mkdir -p $fs/usr/bin |
pankso@16095 | 33 cp $src/fbff $fs/usr/bin |
pascal@13591 | 34 } |