forked from ports/contrib
31 lines
799 B
Plaintext
31 lines
799 B
Plaintext
# Description: Tools for recording, editing, playing and encoding mpeg video.
|
|
# URL: http://mjpeg.sourceforge.net
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: bashy, ronny kornexl at online de
|
|
# Depends on: libquicktime xorg-libxxf86dga
|
|
|
|
name=mjpegtools
|
|
version=2.0.0
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/project/mjpeg/$name/$version/$name-$version.tar.gz
|
|
mjpegtools-v4l-2.6.38.patch
|
|
mjpegtools_gcc470.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
patch -p 0 -i $SRC/mjpegtools-v4l-2.6.38.patch
|
|
patch -p 1 -i $SRC/mjpegtools_gcc470.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--enable-simd-accel \
|
|
--disable-assert \
|
|
--disable-dependency-tracking
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/share/info
|
|
rmdir $PKG/usr/share
|
|
}
|