From f31855f01ade2438c4f09cacb7d0b6d2972d773c Mon Sep 17 00:00:00 2001 From: rafael2k Date: Thu, 5 Oct 2006 08:29:45 +0000 Subject: mjpegtools added git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@339 370017ae-e619-0410-ac65-c121f96126d4 --- mjpegtools/mjpegtools.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mjpegtools/mjpegtools.SlackBuild') diff --git a/mjpegtools/mjpegtools.SlackBuild b/mjpegtools/mjpegtools.SlackBuild index 6c73f42d..27a24369 100755 --- a/mjpegtools/mjpegtools.SlackBuild +++ b/mjpegtools/mjpegtools.SlackBuild @@ -67,11 +67,14 @@ cd $TMP tar xvf$tarflag $SRC_DIR/$SRC cd $PACKAGE-$VERSION + +./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR --with-docdir=/usr/doc/$PACKAGE-$VERSION + +# a hack to compile without ffmpeg if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then - patch -p1 < $CWD/$PACKAGE-$VERSION.diff + patch -p0 < $CWD/$PACKAGE-$VERSION.diff fi -./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR --with-docdir=/usr/doc/$PACKAGE-$VERSION make make DESTDIR=$TMP/package-$PACKAGE install -- cgit v1.2.3