diff options
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 7090dcae37fc1..c994d97a62f22 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 |