wok-current view mjpegtools/receipt @ rev 4135

Up: xfwm4, xfwm4-themes (4.6.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Sep 20 13:28:44 2009 +0000 (2009-09-20)
parents e8024c01fc47
children 5b44af8c1257
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"
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 }