summaryrefslogtreecommitdiff
path: root/libraries/opencv/opencv.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2013-04-24 07:14:15 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-28 12:30:09 -0300
commita83e897e5d068e652cfeb087afa39b3e3b2a72f8 (patch)
tree998dbc8f9412c9efaec5dc952d5bc687944a1d79 /libraries/opencv/opencv.SlackBuild
parent03d9c0104bdb364d3eeee88055c3b750857b8b3b (diff)
downloadslackbuilds-a83e897e5d068e652cfeb087afa39b3e3b2a72f8.tar.gz
libraries/opencv: Updated for version 2.4.4a.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/opencv/opencv.SlackBuild')
-rw-r--r--libraries/opencv/opencv.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/opencv/opencv.SlackBuild b/libraries/opencv/opencv.SlackBuild
index 70de7dd8a7..af61e9e402 100644
--- a/libraries/opencv/opencv.SlackBuild
+++ b/libraries/opencv/opencv.SlackBuild
@@ -23,11 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=opencv
-SRCNAM=OpenCV
-VERSION=${VERSION:-2.4.4}
+VERSION=${VERSION:-2.4.4a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=OpenCV
+TARVER=2.4.4
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -62,7 +64,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
-cd $SRCNAM-$VERSION
+cd $PRGNAM-$TARVER
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \