summaryrefslogtreecommitdiffstats
path: root/mjpegtools/Pkgfile
blob: aafdfc2642f0231877771628da0bbc98866df170 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Ensemble d'outils pour enregistrer, diffuser,editer ... des fichiers videos
# URL: http://mjpeg.sourceforge.net/
# Maintainer: Damir Perisa <damir.perisa@bluewin.ch>
# Packager: lesibel at free dot fr
# Depends on: gtk,libjpeg,libpng,sdl,libdv,v4l-utils
# Run on: gtk,sdl,libdv

name=mjpegtools
version=2.0.0
release=1
source=( http://downloads.sourceforge.net/sourceforge/mjpeg/$name-$version.tar.gz
	mjpegtools-v4l-2.6.38.patch)

build() {
	cd $name-$version
	patch -Np0 -i ../mjpegtools-v4l-2.6.38.patch
  	sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
  	./configure --prefix=/usr --enable-largefile
	make
	make DESTDIR=$PKG install
	install -m644 mpeg2enc/mpeg2syntaxcodes.h $PKG/usr/include/mjpegtools/mpeg2enc/
}