wok-6.x annotate fbff/receipt @ rev 14337
Add EXTRA_SOURCE_FILES variable to track sources files for the mirrors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 13 19:32:46 2013 +0200 (2013-04-13) |
parents | 4aed2b24febc |
children | d488dfb85c26 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="fbff" |
pascal@13591 | 4 VERSION="20120427" |
pascal@13591 | 5 CATEGORY="multimedia" |
pascal@13591 | 6 SHORT_DESC="FFmpeg client in frame buffer." |
pascal@13591 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13591 | 8 WEB_SITE="http://repo.or.cz/w/fbff.git" |
pascal@14337 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 10 TAGS="video" |
pascal@13591 | 11 |
pascal@13591 | 12 DEPENDS="ffmpeg zlib" |
pascal@13591 | 13 BUILD_DEPENDS="ffmpeg-dev zlib-dev" |
pascal@13591 | 14 |
pascal@13591 | 15 # Rules to configure and make the package. |
pascal@13591 | 16 compile_rules() |
pascal@13591 | 17 { |
pascal@14337 | 18 [ -s $SOURCES_REPOSITORY/$TARBALL ] || |
pascal@14337 | 19 wget -O $SOURCES_REPOSITORY/$TARBALL \ |
pascal@13591 | 20 $WEB_SITE//snapshot/bcf8322de9d8b5d94f82db6fc6c6266fd5616fa7.tar.gz |
pascal@13591 | 21 mkdir -p $src |
pascal@13591 | 22 cd $src |
pascal@14337 | 23 tar xzf $SOURCES_REPOSITORY/$TARBALL |
pascal@13591 | 24 mkdir $DESTDIR |
pascal@13591 | 25 cd fbff |
pascal@13591 | 26 make && cp fbff $DESTDIR |
pascal@13591 | 27 } |
pascal@13591 | 28 |
pascal@13591 | 29 |
pascal@13591 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 31 genpkg_rules() |
pascal@13591 | 32 { |
pascal@13591 | 33 mkdir -p $fs/usr/bin |
pascal@13591 | 34 cp $_pkg/fbff $fs/usr/bin |
pascal@13591 | 35 } |