mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-04 00:56:07 +01:00
libraries/opencv: Updated for version 1.1.0
This commit is contained in:
parent
a6dbaecefc
commit
7426eeed75
2 changed files with 10 additions and 2 deletions
|
@ -35,8 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -53,6 +58,7 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--build=$ARCH-slackware-linux \
|
--build=$ARCH-slackware-linux \
|
||||||
|
@ -74,4 +80,4 @@ mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -c n -l y -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -c n -l y -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
PRGNAM="opencv"
|
PRGNAM="opencv"
|
||||||
VERSION="1.1.0"
|
VERSION="1.1.0"
|
||||||
HOMEPAGE="http://opencv.willowgarage.com"
|
HOMEPAGE="http://opencv.willowgarage.com"
|
||||||
DOWNLOAD="http://nchc.dl.sourceforge.net/sourceforge/opencvlibrary/opencv-1.1pre1.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/opencvlibrary/opencv-1.1pre1.tar.gz"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM="b147b7cd3c059831c415c5a2bcecdf95"
|
MD5SUM="b147b7cd3c059831c415c5a2bcecdf95"
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Ricardson Williams"
|
MAINTAINER="Ricardson Williams"
|
||||||
EMAIL="ricardsonwilliams@yahoo.com.br"
|
EMAIL="ricardsonwilliams@yahoo.com.br"
|
||||||
APPROVED="michiel"
|
APPROVED="michiel"
|
||||||
|
|
Loading…
Reference in a new issue