diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2016-12-19 10:59:32 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-24 07:33:59 +0700 |
commit | 8a410b64638f4087feecae0c541ce83e4b6d3361 (patch) | |
tree | cc86d44c61e23777b2fc4c90fe8d51de8fbee18c /libraries/libev/libev.SlackBuild | |
parent | 9335599f48d0007bb66ef82947f550bfb6fc5e15 (diff) |
libraries/libev: Updated for version 4.23, changed maintainer.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libev/libev.SlackBuild')
-rw-r--r-- | libraries/libev/libev.SlackBuild | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/libraries/libev/libev.SlackBuild b/libraries/libev/libev.SlackBuild index a608d757107f..5ddf934643e1 100644 --- a/libraries/libev/libev.SlackBuild +++ b/libraries/libev/libev.SlackBuild @@ -2,15 +2,16 @@ # Slackware build script for libev # Written by Šime Ramov <s@ramov.com> +# Maintained by Matteo Bernardini <ponce@slackbuilds.org> PRGNAM=libev -VERSION=${VERSION:-4.15} -BUILD=${BUILD:-2} +VERSION=${VERSION:-4.23} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -21,8 +22,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -45,10 +46,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Force CFLAGS sed -i "s|-g -O3|$SLKCFLAGS|" configure @@ -59,6 +60,7 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ + --enable-static=no \ --build=$ARCH-slackware-linux make @@ -71,13 +73,11 @@ make install DESTDIR=$PKG 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 \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README LICENSE Changes $PKG/usr/doc/$PRGNAM-$VERSION |