diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-19 21:11:38 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-19 20:30:01 -0500 |
commit | f9d1223deeeb4727a822322cb1f098617ec95dd9 (patch) | |
tree | 16043a2c6b01c3cf2265a659fe7c50aca7ca34a3 /system/mjpg-streamer/mjpg-streamer.SlackBuild | |
parent | 48f77cf574211851df8e08676f7e1b3f915195c7 (diff) |
system/mjpg-streamer: Updated for subersion revision 163.
Switched to the new version supporting v4l2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/mjpg-streamer/mjpg-streamer.SlackBuild')
-rw-r--r-- | system/mjpg-streamer/mjpg-streamer.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/system/mjpg-streamer/mjpg-streamer.SlackBuild b/system/mjpg-streamer/mjpg-streamer.SlackBuild index 7602d1067524..d1ebe7e41765 100644 --- a/system/mjpg-streamer/mjpg-streamer.SlackBuild +++ b/system/mjpg-streamer/mjpg-streamer.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mjpg-streamer -VERSION=${VERSION:-svn20111016} +VERSION=${VERSION:-r163} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -73,6 +73,9 @@ find . -name Makefile -exec \ CXXFLAGS = $SLKCFLAGS }" '{}' \; +# This header is OLD +sed -i "s|linux/videodev|linux/videodev2|" uvc-streamer/* + # Manual installation section cd uvc-streamer make @@ -81,11 +84,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/uvc-streamer cp -a README CHANGELOG LICENSE \ $PKG/usr/doc/$PRGNAM-$VERSION/uvc-streamer -cd ../mjpg-streamer +cd ../mjpg-streamer-experimental make install -m 755 -D mjpg_streamer $PKG/usr/bin/mjpg_streamer mkdir -p $PKG/usr/lib$LIBDIRSUFFIX -install -m 644 *.so $PKG/usr/lib$LIBDIRSUFFIX/ +install -m 644 *.so $PKG/usr/lib$LIBDIRSUFFIX mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/mjpg-streamer cp -a README CHANGELOG LICENSE TODO start.sh \ $PKG/usr/doc/$PRGNAM-$VERSION/mjpg-streamer |