diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-05-28 09:54:18 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 08:55:33 -0500 |
commit | 4ff631ec0a3a1a336f9d5c328ca4c166f0b4ebc6 (patch) | |
tree | bfb25c716214505a974dc28efd17c3e37c9b7683 /libraries/libev/libev.SlackBuild | |
parent | c983442ea0b7d411d6e3e1dfee0c1117d281fa41 (diff) | |
download | slackbuilds-4ff631ec0a3a1a336f9d5c328ca4c166f0b4ebc6.tar.gz |
libraries/libev: Updated for version 4.11.
This commit also moves the event.h header into /usr/include/libev/
to avoid conflicts with libevent (shouldn't break anything on SBo).
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libev/libev.SlackBuild')
-rw-r--r-- | libraries/libev/libev.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libraries/libev/libev.SlackBuild b/libraries/libev/libev.SlackBuild index 7090dcae37..c994d97a62 100644 --- a/libraries/libev/libev.SlackBuild +++ b/libraries/libev/libev.SlackBuild @@ -4,7 +4,7 @@ # Written by Šime Ramov <s@ramov.com> PRGNAM=libev -VERSION=${VERSION:-3.9} +VERSION=${VERSION:-4.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,6 +63,13 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# avoid conflicting with libevent, we move an header in a subfolder +# and we will explicitly add CPPFLAGS="-I/usr/include/libev" when +# building software depending on this, if needed: lighttpd2 and i3, +# for example, don't need this header. +mkdir -p $PKG/usr/include/libev +mv $PKG/usr/include/event.h $PKG/usr/include/libev/ + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |