diff options
author | Phil Warner <pc_warner@yahoo.com> | 2010-05-12 17:40:11 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:40:11 +0200 |
commit | 5784f758231fecf380aea814d62180a509bf35ab (patch) | |
tree | 4cbb8fd45bba0600cacf33e3c21f1848795ba6d3 /libraries/FreeImage | |
parent | dbbfd32409c576c2746822359f0f03af41dfa02e (diff) |
libraries/FreeImage: Updated for version 3.11.0
Diffstat (limited to 'libraries/FreeImage')
-rw-r--r-- | libraries/FreeImage/FreeImage.SlackBuild | 17 | ||||
-rw-r--r-- | libraries/FreeImage/FreeImage.info | 2 | ||||
-rw-r--r-- | libraries/FreeImage/slack-desc | 8 |
3 files changed, 16 insertions, 11 deletions
diff --git a/libraries/FreeImage/FreeImage.SlackBuild b/libraries/FreeImage/FreeImage.SlackBuild index c34940693d34..eafea1183e97 100644 --- a/libraries/FreeImage/FreeImage.SlackBuild +++ b/libraries/FreeImage/FreeImage.SlackBuild @@ -19,10 +19,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 @@ -43,14 +46,16 @@ find . \ patch -p1 < $CWD/Makefile.gnu.DESTDIR.diff patch -p1 < $CWD/Makefile.fip.DESTDIR.diff -CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make -make install DESTDIR=$PKG -CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make -f Makefile.fip -make -f Makefile.fip install DESTDIR=$PKG +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make INSTALLDIR=/usr/lib${LIBDIRSUFFIX} +make install INSTALLDIR=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make -f Makefile.fip INSTALLDIR=/usr/lib${LIBDIRSUFFIX} +make -f Makefile.fip install INSTALLDIR=/usr/lib${LIBDIRSUFFIX} 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 ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/FreeImage/FreeImage.info b/libraries/FreeImage/FreeImage.info index 0ed67665be1d..1cc6f652ac35 100644 --- a/libraries/FreeImage/FreeImage.info +++ b/libraries/FreeImage/FreeImage.info @@ -5,4 +5,4 @@ DOWNLOAD="http://downloads.sourceforge.net/freeimage/FreeImage3110.zip" MD5SUM="ad1db36414391417654ba7bf1c0277d3" MAINTAINER="Phil Warner" EMAIL="pc_warner@yahoo.com" -APPROVED="David Somero"
\ No newline at end of file +APPROVED="dsomero,rworkman" diff --git a/libraries/FreeImage/slack-desc b/libraries/FreeImage/slack-desc index 922a9bb49f39..8829cfff714b 100644 --- a/libraries/FreeImage/slack-desc +++ b/libraries/FreeImage/slack-desc @@ -13,7 +13,7 @@ FreeImage: want to support popular graphics image formats like PNG, BMP, FreeImage: JPEG, TIFF and others needed by today's multimedia applications. FreeImage: FreeImage is easy to use, fast, and multithreading safe. FreeImage: FreeImagePlus is a C++ wrapper for FreeImage. -FreeImage: -FreeImage: http://freeimage.sourceforge.net/ -FreeImage: -FreeImage: +FreeImage: +FreeImage: Homepage: http://freeimage.sourceforge.net/ +FreeImage: +FreeImage: |