wok-current view fbff/receipt @ rev 13818
tazbug-website: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 18:21:06 2013 +0100 (2013-01-06) |
parents | |
children | b2a632fc9587 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fbff"
4 VERSION="20120427"
5 CATEGORY="multimedia"
6 SHORT_DESC="FFmpeg client in frame buffer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://repo.or.cz/w/fbff.git"
9 _TARBALL="$PACKAGE-$VERSION.tar.gz"
10 TAGS="video"
12 DEPENDS="ffmpeg zlib"
13 BUILD_DEPENDS="ffmpeg-dev zlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 [ -s $SOURCES_REPOSITORY/$_TARBALL ] ||
19 wget -O $SOURCES_REPOSITORY/$_TARBALL \
20 $WEB_SITE//snapshot/bcf8322de9d8b5d94f82db6fc6c6266fd5616fa7.tar.gz
21 mkdir -p $src
22 cd $src
23 tar xzf $SOURCES_REPOSITORY/$_TARBALL
24 mkdir $DESTDIR
25 cd fbff
26 make && cp fbff $DESTDIR
27 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp $_pkg/fbff $fs/usr/bin
35 }