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 | |
parent | da1f92080901ffcf7a549b09bf5507956dcdb85e (diff) |
libraries/libevent: Updated for version 1.4.11
-rw-r--r-- | libraries/libevent/libevent.SlackBuild | 12 | ||||
-rw-r--r-- | libraries/libevent/libevent.info | 6 |
2 files changed, 10 insertions, 8 deletions
diff --git a/libraries/libevent/libevent.SlackBuild b/libraries/libevent/libevent.SlackBuild index 3219c7242b42..eba08a3d615b 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 diff --git a/libraries/libevent/libevent.info b/libraries/libevent/libevent.info index bb4b2edc4781..44831fc6203f 100644 --- a/libraries/libevent/libevent.info +++ b/libraries/libevent/libevent.info @@ -1,8 +1,8 @@ PRGNAM="libevent" -VERSION="1.4.4" +VERSION="1.4.11" HOMEPAGE="http://www.monkey.org/~provos/libevent/" -DOWNLOAD="http://www.monkey.org/~provos/libevent-1.4.4-stable.tar.gz" -MD5SUM="5d7591aa6301f06315b52bade472bf2f" +DOWNLOAD="http://www.monkey.org/~provos/libevent-1.4.11-stable.tar.gz" +MD5SUM="3d2dfe659a84441dd27e4587b5ffe0fe" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" APPROVED="rworkman" |