diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 19:45:12 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 19:45:12 +0200 |
commit | 0477209d06b85cc4a8a4fe25132a5823173eea1e (patch) | |
tree | 9d5a281a185d7224fd40ef1dd4fef19f355ff709 /libraries/libevent/libevent.SlackBuild | |
parent | bfaf3362c846ebe5da3c6604e7f003940efdb9d1 (diff) | |
download | slackbuilds-0477209d06b85cc4a8a4fe25132a5823173eea1e.tar.gz |
libraries/libevent: Updated for version 1.3e
Diffstat (limited to 'libraries/libevent/libevent.SlackBuild')
-rw-r--r-- | libraries/libevent/libevent.SlackBuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/libraries/libevent/libevent.SlackBuild b/libraries/libevent/libevent.SlackBuild index 376d9f8efa..482ce52154 100644 --- a/libraries/libevent/libevent.SlackBuild +++ b/libraries/libevent/libevent.SlackBuild @@ -2,13 +2,13 @@ # Slackware build script for libevent # Written by Erik Hanson erik@slackbuilds.org -# Modified by the SlackBuilds.org project PRGNAM=libevent -VERSION=1.2a +VERSION=1.3e ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -34,18 +34,17 @@ CFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ + --mandir=/usr/man \ --enable-static=no \ || exit 1 make || exit 1 make install-strip DESTDIR=$PKG || exit 1 -if [ -d $PKG/usr/man ]; then - ( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done - ) -fi +( cd $PKG/usr/man || exit + find . -type f -exec gzip -9 {} \; + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done +) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README sample $PKG/usr/doc/$PRGNAM-$VERSION |