diff options
-rw-r--r-- | libraries/libevent/libevent.SlackBuild | 38 | ||||
-rw-r--r-- | libraries/libevent/libevent.info | 8 |
2 files changed, 36 insertions, 10 deletions
diff --git a/libraries/libevent/libevent.SlackBuild b/libraries/libevent/libevent.SlackBuild index eba08a3d61..dd46a10207 100644 --- a/libraries/libevent/libevent.SlackBuild +++ b/libraries/libevent/libevent.SlackBuild @@ -1,15 +1,35 @@ -#!/bin/sh -eu +#!/bin/sh # Slackware build script for libevent -# Written by Erik Hanson erik@slackbuilds.org + +# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libevent -VERSION=1.4.11 -SRCVER=1.4.11-stable +VERSION=1.4.13 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCVER=${VERSION}-stable + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -26,6 +46,8 @@ elif [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" fi +set -eu + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -38,11 +60,11 @@ chmod -R u+w,go+r-w,a-s . CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --enable-static=no \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ --build=$ARCH-slackware-linux make @@ -50,10 +72,12 @@ make install-strip DESTDIR=$PKG gzip -9 $PKG/usr/man/man?/*.? -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/libevent/libevent.info b/libraries/libevent/libevent.info index 44831fc620..a99a4c7771 100644 --- a/libraries/libevent/libevent.info +++ b/libraries/libevent/libevent.info @@ -1,8 +1,10 @@ PRGNAM="libevent" -VERSION="1.4.11" +VERSION="1.4.13" HOMEPAGE="http://www.monkey.org/~provos/libevent/" -DOWNLOAD="http://www.monkey.org/~provos/libevent-1.4.11-stable.tar.gz" -MD5SUM="3d2dfe659a84441dd27e4587b5ffe0fe" +DOWNLOAD="http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz" +MD5SUM="0b3ea18c634072d12b3c1ee734263664" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" APPROVED="rworkman" |