diff options
author | Ricardson Williams <ricardsonwilliams@yahoo.com.br> | 2010-05-13 00:30:02 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:30:02 +0200 |
commit | 3b28737609b3e017dfa49279de3d148bf526fcf1 (patch) | |
tree | f8d9c89d56832f36134476bf2dc616129bf1409a /libraries/lensfun/lensfun.SlackBuild | |
parent | 03f962f60b8acf278dad39bbe15a624a2d1a9a6d (diff) | |
download | slackbuilds-3b28737609b3e017dfa49279de3d148bf526fcf1.tar.gz |
libraries/lensfun: Updated for version 0.2.3
Diffstat (limited to 'libraries/lensfun/lensfun.SlackBuild')
-rw-r--r-- | libraries/lensfun/lensfun.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/lensfun/lensfun.SlackBuild b/libraries/lensfun/lensfun.SlackBuild index 1b37fbdcf6..7b45165f2f 100644 --- a/libraries/lensfun/lensfun.SlackBuild +++ b/libraries/lensfun/lensfun.SlackBuild @@ -35,10 +35,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 rm -rf $PKG @@ -54,6 +57,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ || exit 1 @@ -62,15 +66,13 @@ make install DESTDIR=$PKG || exit 1 find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -if [ -d $PKG/usr/man ]; then ( 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 ) -fi mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |