diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libev/libev.SlackBuild | 28 | ||||
-rw-r--r-- | libraries/libev/libev.info | 10 |
2 files changed, 19 insertions, 19 deletions
diff --git a/libraries/libev/libev.SlackBuild b/libraries/libev/libev.SlackBuild index a608d757107fb..5ddf934643e10 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 diff --git a/libraries/libev/libev.info b/libraries/libev/libev.info index 85c240d2969a5..4adc64313f04a 100644 --- a/libraries/libev/libev.info +++ b/libraries/libev/libev.info @@ -1,10 +1,10 @@ PRGNAM="libev" -VERSION="4.15" +VERSION="4.23" HOMEPAGE="http://software.schmorp.de/pkg/libev.html" -DOWNLOAD="http://dist.schmorp.de/libev/Attic/libev-4.15.tar.gz" -MD5SUM="3a73f247e790e2590c01f3492136ed31" +DOWNLOAD="http://dist.schmorp.de/libev/Attic/libev-4.23.tar.gz" +MD5SUM="f1dbf786ead8307e0d4f5f68f2f8526c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Šime Ramov" -EMAIL="s@ramov.com" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" |