wok-current view mjpegtools/receipt @ rev 25719

Fix miss dep for mesa (libglvnd) libGL.so.1, libEGL.so.1
author Stanislas Leduc <shann@slitaz.org>
date Sun Jun 16 06:14:51 2024 +0000 (5 months ago)
parents afae00265386
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mjpegtools"
4 VERSION="2.2.1"
5 CATEGORY="multimedia"
6 TAGS="mpeg mjpeg video"
7 SHORT_DESC="MPEG manipulation tools."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://mjpeg.sourceforge.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/mjpeg/$TARBALL"
15 DEPENDS="expat gcc-lib-base gtk+ jpeg libdv libsdl libsdl-gfx xorg-libX11 xorg-libXau
16 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes
17 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage"
18 BUILD_DEPENDS="$DEPENDS jpeg-dev libdv-dev libsdl-gfx-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/mjpeg/files/mjpegtools/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;s|.*/mjpegtools/||;s|/.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_folders bin
43 cook_copy_files *.so*
44 }