wok-next diff mjpegtools/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 97ac1a0d4e37 |
children | 556349764d57 |
line diff
1.1 --- a/mjpegtools/receipt Sun Dec 08 11:24:30 2013 +0000 1.2 +++ b/mjpegtools/receipt Mon Nov 06 10:18:18 2017 +0100 1.3 @@ -1,38 +1,49 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="mjpegtools" 1.8 -VERSION="2.0.0" 1.9 +VERSION="2.1.0" 1.10 CATEGORY="multimedia" 1.11 -SHORT_DESC="MPEG manipulation tools." 1.12 -TAGS="mpeg mjpeg video" 1.13 +SHORT_DESC="MPEG manipulation tools" 1.14 MAINTAINER="pankso@slitaz.org" 1.15 LICENSE="GPL2" 1.16 +WEB_SITE="http://mjpeg.sourceforge.net/" 1.17 + 1.18 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.19 -WEB_SITE="http://mjpeg.sourceforge.net/" 1.20 WGET_URL="$SF_MIRROR/mjpeg/$TARBALL" 1.21 1.22 -DEPENDS="libdv expat gtk+ jpeg libsdl libsdl-gfx xorg-libX11 xorg-libXau \ 1.23 +BUILD_DEPENDS="libdv expat gtk+ jpeg libsdl libsdl-gfx xorg-libX11 xorg-libXau \ 1.24 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ 1.25 -xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage gcc-lib-base" 1.26 -BUILD_DEPENDS="$DEPENDS libdv-dev libsdl-gfx-dev jpeg-dev" 1.27 +xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage gcc-lib-base \ 1.28 +libdv-dev libsdl-gfx-dev jpeg-dev" 1.29 +SPLIT="mjpegtools-dev" 1.30 + 1.31 +BUILD_DEPENDS="libjpeg-turbo-dev libpng16-dev libdv-dev xorg-libX11-dev \ 1.32 +xorg-libICE-dev xorg-libXxf86dga-dev gtk+-dev libsdl-dev" 1.33 1.34 # Rules to configure and make the package. 1.35 compile_rules() 1.36 { 1.37 - cd $src 1.38 - ./configure \ 1.39 - --prefix=/usr \ 1.40 - --mandir=/usr/share/man \ 1.41 - $CONFIGURE_ARGS && 1.42 - make && 1.43 - make DESTDIR=$DESTDIR install 1.44 + ./configure $CONFIGURE_ARGS && make && make install 1.45 } 1.46 1.47 # Rules to gen a SliTaz package suitable for Tazpkg. 1.48 genpkg_rules() 1.49 { 1.50 - mkdir -p $fs/usr/lib 1.51 - cp -a $install/usr/bin $fs/usr 1.52 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.53 + case $PACKAGE in 1.54 + mjpegtools) 1.55 + copy @std 1.56 + DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \ 1.57 + libdv libffi libharfbuzz libjpeg-turbo liblzma libpng16 libsdl \ 1.58 + libxml2 pango pcre util-linux-blkid util-linux-mount \ 1.59 + util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ 1.60 + xorg-libXrender xorg-libxcb xorg-pixman zlib" 1.61 + TAGS="mpeg mjpeg video" 1.62 + ;; 1.63 + *-dev) 1.64 + copy @dev 1.65 + DEPENDS="mjpegtools \ 1.66 + libdv-dev libjpeg-turbo-dev libsdl-dev xorg-libX11-dev \ 1.67 + xorg-libXau-dev xorg-libxcb-dev xorg-libXdmcp-dev" 1.68 + ;; 1.69 + esac 1.70 } 1.71 -