wok-next annotate mjpegtools/receipt @ rev 20070

qtwebkit, mesa-demos: up compile_rules / (b)deps
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Oct 25 00:02:43 2017 +0200 (2017-10-25)
parents 97ac1a0d4e37
children 556349764d57
rev   line source
al@19829 1 # SliTaz package receipt v2.
pankso@294 2
pankso@294 3 PACKAGE="mjpegtools"
al@19829 4 VERSION="2.1.0"
pankso@294 5 CATEGORY="multimedia"
al@19829 6 SHORT_DESC="MPEG manipulation tools"
pascal@15000 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@19829 9 WEB_SITE="http://mjpeg.sourceforge.net/"
al@19829 10
pascal@15000 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15000 12 WGET_URL="$SF_MIRROR/mjpeg/$TARBALL"
pascal@15000 13
al@19829 14 BUILD_DEPENDS="libdv expat gtk+ jpeg libsdl libsdl-gfx xorg-libX11 xorg-libXau \
pankso@3347 15 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
al@19829 16 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage gcc-lib-base \
al@19829 17 libdv-dev libsdl-gfx-dev jpeg-dev"
al@19829 18 SPLIT="mjpegtools-dev"
al@19829 19
al@19829 20 BUILD_DEPENDS="libjpeg-turbo-dev libpng16-dev libdv-dev xorg-libX11-dev \
al@19829 21 xorg-libICE-dev xorg-libXxf86dga-dev gtk+-dev libsdl-dev"
pankso@294 22
pankso@294 23 # Rules to configure and make the package.
pankso@294 24 compile_rules()
pankso@294 25 {
al@19829 26 ./configure $CONFIGURE_ARGS && make && make install
pankso@294 27 }
pankso@294 28
pankso@294 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@294 30 genpkg_rules()
pankso@294 31 {
al@19829 32 case $PACKAGE in
al@19829 33 mjpegtools)
al@19829 34 copy @std
al@19829 35 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
al@19829 36 libdv libffi libharfbuzz libjpeg-turbo liblzma libpng16 libsdl \
al@19829 37 libxml2 pango pcre util-linux-blkid util-linux-mount \
al@19829 38 util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
al@19829 39 xorg-libXrender xorg-libxcb xorg-pixman zlib"
al@19829 40 TAGS="mpeg mjpeg video"
al@19829 41 ;;
al@19829 42 *-dev)
al@19829 43 copy @dev
al@19829 44 DEPENDS="mjpegtools \
al@19829 45 libdv-dev libjpeg-turbo-dev libsdl-dev xorg-libX11-dev \
al@19829 46 xorg-libXau-dev xorg-libxcb-dev xorg-libXdmcp-dev"
al@19829 47 ;;
al@19829 48 esac
pankso@294 49 }