diff options
author | Dave Woodfall <dave@dawoodfall.net> | 2018-03-27 12:51:22 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-31 07:41:32 +0700 |
commit | bbc3eec20f5c155477f01e46a4dc1234800b68e0 (patch) | |
tree | 38e3f88db022ebb77430a8ee75666389a035c00d /system/mjpg-streamer/mjpg-streamer.SlackBuild | |
parent | d0bc32aeccceb787293bbccfea43460dd1bf38a8 (diff) | |
download | slackbuilds-bbc3eec20f5c155477f01e46a4dc1234800b68e0.tar.gz |
system/mjpg-streamer: Updated homepage + switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 1c6ca7265c..16bb61b465 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 |