wok-6.x annotate mjpegtools/receipt @ rev 25104
Up klavaro (1.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 08:45:04 2022 +0000 (2022-06-22) |
parents | afae00265386 |
children |
rev | line source |
---|---|
pankso@294 | 1 # SliTaz package receipt. |
pankso@294 | 2 |
pankso@294 | 3 PACKAGE="mjpegtools" |
Hans-G?nter@24908 | 4 VERSION="2.2.1" |
pankso@294 | 5 CATEGORY="multimedia" |
Hans-G?nter@24908 | 6 TAGS="mpeg mjpeg video" |
pankso@294 | 7 SHORT_DESC="MPEG manipulation tools." |
pascal@15000 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
Hans-G?nter@21445 | 10 WEB_SITE="https://mjpeg.sourceforge.io/" |
Hans-G?nter@21445 | 11 |
pascal@15000 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15000 | 13 WGET_URL="$SF_MIRROR/mjpeg/$TARBALL" |
pascal@15000 | 14 |
Hans-G?nter@24908 | 15 DEPENDS="expat gcc-lib-base gtk+ jpeg libdv libsdl libsdl-gfx xorg-libX11 xorg-libXau |
Hans-G?nter@24908 | 16 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes |
Hans-G?nter@21445 | 17 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage" |
Hans-G?nter@24908 | 18 BUILD_DEPENDS="$DEPENDS jpeg-dev libdv-dev libsdl-gfx-dev" |
pankso@294 | 19 |
pascal@24402 | 20 # What is the latest version available today? |
pascal@24402 | 21 current_version() |
pascal@24402 | 22 { |
pascal@24402 | 23 wget -O - https://sourceforge.net/projects/mjpeg/files/mjpegtools/ 2>/dev/null | \ |
pascal@24402 | 24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24402 | 25 sed '/scope="row/!d;s|.*/mjpegtools/||;s|/.*||;q' |
pascal@24402 | 26 } |
pascal@24402 | 27 |
pankso@294 | 28 # Rules to configure and make the package. |
pankso@294 | 29 compile_rules() |
pankso@294 | 30 { |
Hans-G?nter@21445 | 31 ./configure \ |
Hans-G?nter@21445 | 32 --prefix=/usr \ |
Hans-G?nter@21445 | 33 --mandir=/usr/share/man \ |
pascal@1491 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@24908 | 35 make && |
Hans-G?nter@24908 | 36 make install DESTDIR=$DESTDIR |
pankso@294 | 37 } |
pankso@294 | 38 |
pankso@294 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@294 | 40 genpkg_rules() |
pankso@294 | 41 { |
Hans-G?nter@24908 | 42 cook_copy_folders bin |
Hans-G?nter@24908 | 43 cook_copy_files *.so* |
pankso@294 | 44 } |