wok diff fbff/receipt @ rev 16813
Update automake to version 1.14.1
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Jul 10 22:24:16 2014 -0300 (2014-07-10) |
parents | 051931e905b0 |
children | 73719490ffe0 |
line diff
1.1 --- a/fbff/receipt Fri Dec 06 10:39:07 2013 +0000 1.2 +++ b/fbff/receipt Thu Jul 10 22:24:16 2014 -0300 1.3 @@ -1,14 +1,16 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="fbff" 1.7 -VERSION="20120427" 1.8 +VERSION="20130221" 1.9 CATEGORY="multimedia" 1.10 SHORT_DESC="FFmpeg client in frame buffer." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 WEB_SITE="http://repo.or.cz/w/fbff.git" 1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 +WGET_URL="git|git://repo.or.cz/fbff.git" 1.17 TAGS="video" 1.18 +HOST_ARCH="i486 arm" 1.19 1.20 DEPENDS="ffmpeg zlib" 1.21 BUILD_DEPENDS="ffmpeg-dev zlib-dev" 1.22 @@ -16,15 +18,11 @@ 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 - [ -s $SOURCES_REPOSITORY/$TARBALL ] || 1.27 - wget -O $SOURCES_REPOSITORY/$TARBALL \ 1.28 - $WEB_SITE//snapshot/bcf8322de9d8b5d94f82db6fc6c6266fd5616fa7.tar.gz 1.29 - mkdir -p $src 1.30 - cd $src 1.31 - tar xzf $SOURCES_REPOSITORY/$TARBALL 1.32 - mkdir $DESTDIR 1.33 - cd fbff 1.34 - make && cp fbff $DESTDIR 1.35 + case "$ARCH" in 1.36 + arm*) sed -i s"#/opt#/cross/$ARCH/sysroot/usr#" Makefile ;; 1.37 + esac && 1.38 + sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile && 1.39 + make 1.40 } 1.41 1.42 1.43 @@ -32,5 +30,5 @@ 1.44 genpkg_rules() 1.45 { 1.46 mkdir -p $fs/usr/bin 1.47 - cp $install/fbff $fs/usr/bin 1.48 + cp $src/fbff $fs/usr/bin 1.49 }