summaryrefslogtreecommitdiff
path: root/libmovtar/Pkgfile
blob: 2f1e42183519755db4d539bcbe721bb89e048189 (plain)
    1 # Name: libmovtar
    2 # Description: library to playback movtar files (movie archive files)
    3 # URL: http://mjpeg.sourceforge.net/
    4 # Maintainer: Matt Housh, jaeger at morpheus dot net
    5 # Packager: Martin Opel, mo at obbl-net dot de
    6 # Depends on: libsdl, libjpeg-mmx, glib1
    7 
    8 name=libmovtar
    9 version=0.1.3
   10 release=5
   11 source=(http://dl.sourceforge.net/sourceforge/mjpeg/$name-$version.tar.gz \
   12 	jpegint.h $name-$version-gcc4.patch)
   13 
   14 build() {
   15 	cd $name-$version
   16 	patch -p1 -i $SRC/$name-$version-gcc4.patch
   17 	# jpegint.h should be from the same version of libjpeg-mmx that's installed
   18 	cp $SRC/jpegint.h .
   19 	sed -i -e "s,#include <jinclude.h>,," movtar_play.c
   20 	./configure --prefix=/usr \
   21 		--disable-dependency-tracking
   22 	make
   23 	make DESTDIR=$PKG install
   24 }

Generated by cgit