wok-4.x view mjpegtools/receipt @ rev 12376

xorg-xauth: add common path (thanks mojo)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 29 09:47:08 2013 +0100 (2013-01-29)
parents 5b44af8c1257
children
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 }