32 lines
723 B
Plaintext
Raw Normal View History

2007-06-25 18:32:40 +10:00
# Description: Tools for recording, editing, playing and encoding mpeg video.
# URL: http://mjpeg.sourceforge.net
2014-11-10 23:28:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: libdv libjpeg-turbo libpng
2020-06-03 21:28:27 +10:00
# Optional: v4l-utils sdl_gfx
2007-06-25 18:32:40 +10:00
name=mjpegtools
2021-09-11 17:21:59 +02:00
version=2.2.1
2021-03-04 19:23:57 +11:00
release=1
2021-09-11 17:21:59 +02:00
source=(https://downloads.sourceforge.net/project/mjpeg/$name/$version/$name-$version.tar.gz)
2007-06-25 18:32:40 +10:00
build() {
2008-12-19 23:13:16 +11:00
cd $name-$version
2008-09-28 19:17:42 +10:00
2015-01-17 00:27:16 +11:00
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
export CFLAGS+=' -fPIC'
export CXXFLAGS+=' -fPIC'
export LDFLAGS+=' -fPIC'
2015-01-17 00:27:16 +11:00
2007-06-25 18:32:40 +10:00
./configure \
--prefix=/usr \
--enable-largefile \
2007-06-25 18:32:40 +10:00
--enable-simd-accel \
2013-11-28 23:31:29 +11:00
--disable-dependency-tracking \
--disable-assert
2007-06-25 18:32:40 +10:00
make
make DESTDIR=$PKG install
2013-11-28 23:31:29 +11:00
rm -r $PKG/usr/share/info
2007-06-25 18:32:40 +10:00
}