diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-12 17:41:10 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:41:10 +0200 |
commit | c2580ccbd0e823f923ffe769a23c53c235bc14a2 (patch) | |
tree | a11f330c8dac6a665cd0d3ca69a5912644f61b8c /libraries/libevent/libevent.SlackBuild | |
parent | da1f92080901ffcf7a549b09bf5507956dcdb85e (diff) |
libraries/libevent: Updated for version 1.4.11
Diffstat (limited to 'libraries/libevent/libevent.SlackBuild')
-rw-r--r-- | libraries/libevent/libevent.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libraries/libevent/libevent.SlackBuild b/libraries/libevent/libevent.SlackBuild index 3219c7242b42f..eba08a3d615b1 100644 --- a/libraries/libevent/libevent.SlackBuild +++ b/libraries/libevent/libevent.SlackBuild @@ -1,11 +1,11 @@ -#!/bin/sh +#!/bin/sh -eu # Slackware build script for libevent # Written by Erik Hanson erik@slackbuilds.org PRGNAM=libevent -VERSION=1.4.4 -SRCVER=1.4.4-stable +VERSION=1.4.11 +SRCVER=1.4.11-stable ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,14 +17,15 @@ OUTPUT=${OUTPUT:-/tmp} 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" fi -set -eu - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -41,6 +42,7 @@ CFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --enable-static=no \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --build=$ARCH-slackware-linux make |