summaryrefslogtreecommitdiffstats
path: root/network/movgrab/movgrab.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/movgrab/movgrab.SlackBuild')
-rw-r--r--network/movgrab/movgrab.SlackBuild17
1 files changed, 5 insertions, 12 deletions
diff --git a/network/movgrab/movgrab.SlackBuild b/network/movgrab/movgrab.SlackBuild
index fc151c4a1d..1597dd3544 100644
--- a/network/movgrab/movgrab.SlackBuild
+++ b/network/movgrab/movgrab.SlackBuild
@@ -6,7 +6,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=movgrab
-VERSION=${VERSION:-1.2.1}
+SRCNAM=Movgrab
+VERSION=${VERSION:-3.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -19,9 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,9 +48,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -62,7 +60,6 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS"
-autoreconf # otherwise fails with libUseful
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -80,13 +77,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/libUseful-2.0
cp -a \
Docs/* README LICENCE CHANGES \
$PKG/usr/doc/$PRGNAM-$VERSION
- cp -a \
- libUseful-2.0/Docs/* \
- $PKG/usr/doc/$PRGNAM-$VERSION/libUseful-2.0
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install