wok-next diff fbff/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | c4e53a39395a |
children | d5aab818505e |
line diff
1.1 --- a/fbff/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/fbff/receipt Tue May 15 02:59:03 2018 +0300 1.3 @@ -1,33 +1,31 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="fbff" 1.8 VERSION="20170211" 1.9 CATEGORY="multimedia" 1.10 -SHORT_DESC="FFmpeg client in frame buffer." 1.11 +SHORT_DESC="FFmpeg client in frame buffer" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://repo.or.cz/w/fbff.git" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://repo.or.cz/w/fbff.git" 1.18 WGET_URL="git|git://repo.or.cz/fbff.git" 1.19 -TAGS="video" 1.20 1.21 -DEPENDS="ffmpeg zlib" 1.22 BUILD_DEPENDS="ffmpeg-dev zlib-dev git" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +compile_rules() { 1.28 case "$ARCH" in 1.29 arm*) sed -i s"#/opt#/cross/$ARCH/sysroot/usr#" Makefile ;; 1.30 - esac && 1.31 - sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile && 1.32 - make 1.33 + esac 1.34 + sed -i "s|cc|$HOST_SYSTEM-gcc|" Makefile 1.35 + 1.36 + make || return 1 1.37 + 1.38 + install -Dm755 $src/fbff $install/usr/bin/fbff 1.39 } 1.40 1.41 - 1.42 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 -genpkg_rules() 1.44 -{ 1.45 - mkdir -p $fs/usr/bin 1.46 - cp $src/fbff $fs/usr/bin 1.47 +genpkg_rules() { 1.48 + copy @std 1.49 + DEPENDS="ffmpeg zlib" 1.50 + TAGS="video" 1.51 }