diff options
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 7602d10675..d1ebe7e417 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 |