diff options
author | Dušan Stefanović <stefanovic.dusan@gmail.com> | 2010-05-13 00:31:52 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:31:52 +0200 |
commit | 5d141f9ecd703be240b06fed111c0f93d1f42774 (patch) | |
tree | b3e5162959f5395d342f462b5b2d075532056afb /libraries/libsmi | |
parent | 8f2e9cce7148f19a7be4446bf04026c3b30133e9 (diff) |
libraries/libsmi: Updated for version 0.4.8
Diffstat (limited to 'libraries/libsmi')
-rw-r--r-- | libraries/libsmi/libsmi.SlackBuild | 12 | ||||
-rw-r--r-- | libraries/libsmi/libsmi.info | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/libraries/libsmi/libsmi.SlackBuild b/libraries/libsmi/libsmi.SlackBuild index e4f93b85fab72..07d932d24c049 100644 --- a/libraries/libsmi/libsmi.SlackBuild +++ b/libraries/libsmi/libsmi.SlackBuild @@ -17,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e # Exit on most errors @@ -41,6 +44,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -51,8 +55,10 @@ make make install DESTDIR=$PKG ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) ( cd $PKG/usr/man @@ -69,4 +75,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/libsmi/libsmi.info b/libraries/libsmi/libsmi.info index 133cfc9128d40..3b026eb092f58 100644 --- a/libraries/libsmi/libsmi.info +++ b/libraries/libsmi/libsmi.info @@ -2,7 +2,9 @@ PRGNAM="libsmi" VERSION="0.4.8" HOMEPAGE="http://www.ibr.cs.tu-bs.de/projects/libsmi/" DOWNLOAD="ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/libsmi-0.4.8.tar.gz" +DOWNLOAD_x86_64="" MD5SUM="760b6b1070738158708649ed2c63425e" +MD5SUM_x86_64="" MAINTAINER="Dušan Stefanović" EMAIL="stefanovic.dusan@gmail.com" APPROVED="rworkman" |