mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/lensfun: Updated for version 0.2.3
This commit is contained in:
parent
03f962f60b
commit
3b28737609
2 changed files with 7 additions and 3 deletions
|
@ -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}
|
||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="lensfun"
|
|||
VERSION="0.2.3"
|
||||
HOMEPAGE="http://lensfun.berlios.de/"
|
||||
DOWNLOAD="http://download.berlios.de/lensfun/lensfun-0.2.3.tar.bz2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="c5c04be4f53e3eef450ff4948d8f65b3"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Ricardson Williams"
|
||||
EMAIL="ricardsonwilliams@yahoo.com.br"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue