diff options
Diffstat (limited to 'system/mjpg-streamer/mjpg-streamer.SlackBuild')
-rw-r--r-- | system/mjpg-streamer/mjpg-streamer.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/system/mjpg-streamer/mjpg-streamer.SlackBuild b/system/mjpg-streamer/mjpg-streamer.SlackBuild index 1c6ca7265c1ff..16bb61b465e88 100644 --- a/system/mjpg-streamer/mjpg-streamer.SlackBuild +++ b/system/mjpg-streamer/mjpg-streamer.SlackBuild @@ -24,12 +24,12 @@ PRGNAM=mjpg-streamer VERSION=${VERSION:-r163} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -84,6 +84,7 @@ sed -i "s|linux/videodev|linux/videodev2|" uvc-streamer/* cd uvc-streamer make install -m 755 -D uvc_stream $PKG/usr/bin/uvc_stream + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/uvc-streamer cp -a README CHANGELOG LICENSE \ $PKG/usr/doc/$PRGNAM-$VERSION/uvc-streamer |