wok-next annotate fbff/receipt @ rev 14853
x11vnc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 18 10:50:13 2013 +0000 (2013-07-18) |
parents | b2a632fc9587 |
children | 051931e905b0 |
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@14853 | 8 LICENSE="GPL2" |
pascal@13591 | 9 WEB_SITE="http://repo.or.cz/w/fbff.git" |
pascal@14337 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 11 TAGS="video" |
pascal@13591 | 12 |
pascal@13591 | 13 DEPENDS="ffmpeg zlib" |
pascal@13591 | 14 BUILD_DEPENDS="ffmpeg-dev zlib-dev" |
pascal@13591 | 15 |
pascal@13591 | 16 # Rules to configure and make the package. |
pascal@13591 | 17 compile_rules() |
pascal@13591 | 18 { |
pascal@14337 | 19 [ -s $SOURCES_REPOSITORY/$TARBALL ] || |
pascal@14337 | 20 wget -O $SOURCES_REPOSITORY/$TARBALL \ |
pascal@13591 | 21 $WEB_SITE//snapshot/bcf8322de9d8b5d94f82db6fc6c6266fd5616fa7.tar.gz |
pascal@13591 | 22 mkdir -p $src |
pascal@13591 | 23 cd $src |
pascal@14337 | 24 tar xzf $SOURCES_REPOSITORY/$TARBALL |
pascal@13591 | 25 mkdir $DESTDIR |
pascal@13591 | 26 cd fbff |
pascal@13591 | 27 make && cp fbff $DESTDIR |
pascal@13591 | 28 } |
pascal@13591 | 29 |
pascal@13591 | 30 |
pascal@13591 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 32 genpkg_rules() |
pascal@13591 | 33 { |
pascal@13591 | 34 mkdir -p $fs/usr/bin |
pascal@13591 | 35 cp $_pkg/fbff $fs/usr/bin |
pascal@13591 | 36 } |