SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mjpegtools"

# SliTaz package receipt.

PACKAGE="mjpegtools"
VERSION="1.9.0"
CATEGORY="multimedia"
SHORT_DESC="MPEG manipulation tools."
TAGS="mpeg mjpeg video"
DEPENDS="libdv expat gtk+ jpeg libsdl libsdl-gfx xorg-libX11 xorg-libXau \
xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage gcc-lib-base"
BUILD_DEPENDS="$DEPENDS libdv-dev libsdl-gfx-dev"
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://mjpeg.sourceforge.net/"
WGET_URL="$SF_MIRROR/mjpeg/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    while read file; do
        [ -f done.$file ] && continue
        echo "Apply $file..."
        patch -p1 < $stuff/$file || return 1
        touch done.$file
    done <<EOT
gcc44.u
EOT
    ./configure \
        --prefix=/usr \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)