diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-12-05 07:57:16 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2013-12-14 10:53:03 -0600 |
commit | 0a6868ec364f35d6d2bf45fc9a85c1f30cdbea4d (patch) | |
tree | 5853fae90f179d29b76ac166bf56a7196e70103c /development/monodevelop-database/monodevelop-database.SlackBuild | |
parent | 70c368081dbf54c5c3d8497921ec9583e7d1b06e (diff) |
development/monodevelop-database: Updated for version 4.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/monodevelop-database/monodevelop-database.SlackBuild')
-rw-r--r-- | development/monodevelop-database/monodevelop-database.SlackBuild | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/development/monodevelop-database/monodevelop-database.SlackBuild b/development/monodevelop-database/monodevelop-database.SlackBuild index c7e5c03a7685..007a9aa0a96f 100644 --- a/development/monodevelop-database/monodevelop-database.SlackBuild +++ b/development/monodevelop-database/monodevelop-database.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=monodevelop-database -VERSION=${VERSION:-4.0.10} +VERSION=${VERSION:-4.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -39,8 +39,18 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "x86_64" ]; then +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi set -e @@ -49,14 +59,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-7.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION-1.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; ./configure \ --prefix=/usr \ |