From c2580ccbd0e823f923ffe769a23c53c235bc14a2 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Wed, 12 May 2010 17:41:10 +0200 Subject: libraries/libevent: Updated for version 1.4.11 --- libraries/libevent/libevent.SlackBuild | 12 +++++++----- libraries/libevent/libevent.info | 6 +++--- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'libraries') 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" -- cgit v1.2.3