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