wok-stable view mjpegtools/receipt @ rev 5752
get-virtualbox: create group vboxusers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 02 19:17:19 2010 +0200 (2010-07-02) |
parents | 9a775ce0eafd |
children | d1768332cee0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mjpegtools"
4 VERSION="1.9.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG manipulation tools."
7 TAGS="mpeg mjpeg video"
8 DEPENDS="libdv expat gtk+ jpeg libsdl libsdl-gfx xorg-libX11 xorg-libXau \
9 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
10 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage gcc-lib-base"
11 BUILD_DEPENDS="$DEPENDS libdv-dev libsdl-gfx-dev"
12 MAINTAINER="pankso@slitaz.org"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://mjpeg.sourceforge.net/"
15 WGET_URL="$SF_MIRROR/mjpeg/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 while read file; do
22 [ -f done.$file ] && continue
23 echo "Apply $file..."
24 patch -p1 < ../stuff/$file || return 1
25 touch done.$file
26 done <<EOT
27 gcc44.u
28 EOT
29 ./configure \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
43 }