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 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'libraries/libevent/libevent.SlackBuild') 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 -- cgit v1.2.3