wok-next view mjpegtools/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mjpegtools"
4 VERSION="2.1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG manipulation tools"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://mjpeg.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/mjpeg/$TARBALL"
14 BUILD_DEPENDS="libdv expat gtk2 jpeg libsdl libsdl-gfx xorg-libX11 xorg-libXau \
15 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
16 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage gcc-lib-base \
17 libdv-dev libsdl-gfx-dev jpeg-dev"
18 SPLIT="$PACKAGE-dev"
20 BUILD_DEPENDS="libjpeg-turbo-dev libpng16-dev libdv-dev xorg-libX11-dev \
21 xorg-libICE-dev xorg-libXxf86dga-dev gtk2-dev libsdl-dev"
23 compile_rules() {
24 ./configure $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 mjpegtools)
33 copy @std
34 DEPENDS="glib gtk2 libdv libjpeg-turbo libpng16 libsdl"
35 TAGS="mpeg mjpeg video"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }