diff options
author | luis <luis@370017ae-e619-0410-ac65-c121f96126d4> | 2007-02-04 01:25:25 +0000 |
---|---|---|
committer | luis <luis@370017ae-e619-0410-ac65-c121f96126d4> | 2007-02-04 01:25:25 +0000 |
commit | 49b563bb9c4980f69a91485a7b64ffa7b24b7f13 (patch) | |
tree | 443e6f98c4d063adc7c9209aa52726305bc366f6 /sci/electronics/ivi/ivi.SlackBuild | |
parent | 27ec339d203739b284098a232274d7a8934f7207 (diff) | |
download | slackbuilds-49b563bb9c4980f69a91485a7b64ffa7b24b7f13.tar.gz slackbuilds-49b563bb9c4980f69a91485a7b64ffa7b24b7f13.tar.bz2 |
Updating SlackBuilds: gtkwave, ivi
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1000 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'sci/electronics/ivi/ivi.SlackBuild')
-rwxr-xr-x | sci/electronics/ivi/ivi.SlackBuild | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/sci/electronics/ivi/ivi.SlackBuild b/sci/electronics/ivi/ivi.SlackBuild index 3b732c0e..a9311080 100755 --- a/sci/electronics/ivi/ivi.SlackBuild +++ b/sci/electronics/ivi/ivi.SlackBuild @@ -18,7 +18,7 @@ fi # Set variables SRC_NAME="ivi" PKG_NAME="ivi" -ARCH=${ARCH:=i486} +ARCH="i486" SRC_VERSION="0.4-pre-20031121" PKG_VERSION="0.4_20031121" BUILD=${BUILD:=1ls} @@ -29,22 +29,6 @@ REPOS=${REPOS:=$TMP} PREFIX=${PREFIX:=/usr} PKG_SRC="$SRC_DIR/$SRC_NAME-$SRC_VERSION" -# Set system libraries' path and optmization flags based on $ARCH -LIBDIR="$PREFIX/lib" - -if [ "$ARCH" = "i386" ]; then - SLKCFLAGS="-O2 -march=i386 -mcpu=i686" -elif [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mcpu=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2" - LIBDIR="$PREFIX/lib64" -fi - # Set error codes (used by createpkg) ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33 ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36 @@ -73,9 +57,7 @@ cd "$SRC_DIR" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR cd "$PKG_SRC" patch -Np1 < "$CWD/ivi-0.4-pre-20031121-gcc3.4.patch" || exit $ERROR_PATCH -CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ - ./configure --enable-release || exit $ERROR_CONF +./configure --enable-release || exit $ERROR_CONF make || exit $ERROR_MAKE make install prefix="$PKG/$PREFIX/share/ivi" || exit $ERROR_INSTALL |