wok view fbff/receipt @ rev 15603

Use install instead of _pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 10:39:07 2013 +0000 (2013-12-06)
parents d488dfb85c26
children 38c69652a653
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 LICENSE="GPL2"
9 WEB_SITE="http://repo.or.cz/w/fbff.git"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 TAGS="video"
13 DEPENDS="ffmpeg zlib"
14 BUILD_DEPENDS="ffmpeg-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 [ -s $SOURCES_REPOSITORY/$TARBALL ] ||
20 wget -O $SOURCES_REPOSITORY/$TARBALL \
21 $WEB_SITE//snapshot/bcf8322de9d8b5d94f82db6fc6c6266fd5616fa7.tar.gz
22 mkdir -p $src
23 cd $src
24 tar xzf $SOURCES_REPOSITORY/$TARBALL
25 mkdir $DESTDIR
26 cd fbff
27 make && cp fbff $DESTDIR
28 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp $install/fbff $fs/usr/bin
36 }