diff options
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 |